Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.AttachGroupPolicy C# (CSharp) Метод

AttachGroupPolicy() публичный Метод

Attaches the specified managed policy to the specified IAM group.

You use this API to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy.

For more information about policies, see Managed Policies and Inline Policies in the IAM User Guide.

/// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error message describes the limit exceeded. /// /// The request was rejected because it referenced an entity that does not exist. The /// error message describes the entity. /// /// The request processing has failed because of an unknown error, exception or failure. ///
public AttachGroupPolicy ( AttachGroupPolicyRequest request ) : AttachGroupPolicyResponse
request Amazon.IdentityManagement.Model.AttachGroupPolicyRequest Container for the necessary parameters to execute the AttachGroupPolicy service method.
Результат AttachGroupPolicyResponse
        public AttachGroupPolicyResponse AttachGroupPolicy(AttachGroupPolicyRequest request)
        {
            var marshaller = new AttachGroupPolicyRequestMarshaller();
            var unmarshaller = AttachGroupPolicyResponseUnmarshaller.Instance;

            return Invoke<AttachGroupPolicyRequest,AttachGroupPolicyResponse>(request, marshaller, unmarshaller);
        }
AmazonIdentityManagementServiceClient