Method: Aws::ServerlessApplicationRepository::Client#unshare_application

Defined in:
lib/aws-sdk-serverlessapplicationrepository/client.rb

#unshare_application(params = {}) ⇒ Struct

Unshares an application from an AWS Organization.

This operation can be called only from the organization’s master account.

Examples:

Request syntax with placeholder values


resp = client.unshare_application({
  application_id: "__string", # required
  organization_id: "__string", # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :application_id (required, String)
  • :organization_id (required, String)

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1178
1179
1180
1181
# File 'lib/aws-sdk-serverlessapplicationrepository/client.rb', line 1178

def unshare_application(params = {}, options = {})
  req = build_request(:unshare_application, params)
  req.send_request(options)
end