コード例 #1
0
        public void ECSDeleteAccountSetting()
        {
            #region to-delete-the-account-setting-for-your-user-account-1549524548115

            var client   = new AmazonECSClient();
            var response = client.DeleteAccountSetting(new DeleteAccountSettingRequest
            {
                Name = "serviceLongArnFormat"
            });

            Setting setting = response.Setting;

            #endregion
        }
コード例 #2
0
        public void ECSDeleteAccountSetting()
        {
            #region to-delete-the-account-setting-for-a-specific-iam-user-or-iam-role-1549524612917

            var client   = new AmazonECSClient();
            var response = client.DeleteAccountSetting(new DeleteAccountSettingRequest
            {
                Name         = "containerInstanceLongArnFormat",
                PrincipalArn = "arn:aws:iam::<aws_account_id>:user/principalName"
            });

            Setting setting = response.Setting;

            #endregion
        }