AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Contains the response to a successful CreateGroup request.
Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.IdentityManagement.dll
Version: 3.x.y.z
public class CreateGroupResponse : AmazonWebServiceResponse
The CreateGroupResponse type exposes the following members
Name | Description | |
---|---|---|
CreateGroupResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
Group | Amazon.IdentityManagement.Model.Group |
Gets and sets the property Group. A structure containing details about the new group. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
The following command creates an IAM group named Admins.
var client = new AmazonIdentityManagementServiceClient(); var response = client.CreateGroup(new CreateGroupRequest { GroupName = "Admins" }); Group group = response.Group;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5