// Returns the resource policy attached to the specified domain. The policy is a
// resource-based policy, not an identity-based policy. For more information, see
// Identity-based policies and resource-based policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html)
// in the AWS Identity and Access Management User Guide.
Returns the resource policy attached to the specified domain. The policy is a
resource-based policy, not an identity-based policy. For more information, see
Identity-based policies and resource-based policies

in the AWS Identity and Access Management User Guide.
// Returns the resource policy attached to the specified domain . The policy is a // resource - based policy not an identity - based policy . For more information see // Identity - based policies and resource - based policies // ( https : // docs . aws . amazon . com / IAM / latest / UserGuide / access_policies_identity - vs - resource . html ) // in the AWS Identity and Access Management User Guide .
func (c *Client) GetDomainPermissionsPolicy(ctx context.Context, params *GetDomainPermissionsPolicyInput, optFns ...func(*Options)) (*GetDomainPermissionsPolicyOutput, error) {
	if params == nil {
		params = &GetDomainPermissionsPolicyInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetDomainPermissionsPolicy", params, optFns, addOperationGetDomainPermissionsPolicyMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetDomainPermissionsPolicyOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetDomainPermissionsPolicy ( ctx context . Context , params * GetDomainPermissionsPolicyInput , optFns ... func ( * Options ) ) ( * GetDomainPermissionsPolicyOutput , error ) { if params == nil { params = & GetDomainPermissionsPolicyInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetDomainPermissionsPolicyMiddlewares ) if err != nil { return nil , err } out := result . ( * GetDomainPermissionsPolicyOutput ) out . ResultMetadata = metadata return out , nil }
Returns the resource policy attached to the specified domain.
Returns the resource policy attached to the specified domain .