@effect-aws/client-iam 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +16 -40
- package/lib/IAMService.d.ts +73 -57
- package/lib/IAMService.js +36 -22
- package/lib/esm/IAMService.js +36 -22
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @effect-aws/client-iam
|
|
2
2
|
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#80](https://github.com/floydspace/effect-aws/pull/80) [`4b16fbe`](https://github.com/floydspace/effect-aws/commit/4b16fbebce8131df7798ee92f43cf6b7df3e907c) Thanks [@floydspace](https://github.com/floydspace)! - simplify layers configuration (closes #78)
|
|
8
|
+
|
|
9
|
+
## 1.4.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#75](https://github.com/floydspace/effect-aws/pull/75) [`9dc170d`](https://github.com/floydspace/effect-aws/commit/9dc170d975c04888bbc7ca7b241b4b5265668fb5) Thanks [@godu](https://github.com/godu)! - export the HttpHandlerOptions type
|
|
14
|
+
|
|
3
15
|
## 1.4.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# @effect-aws/client-iam
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@effect-aws/client-iam)
|
|
4
|
+
[](https://www.npmjs.com/package/@effect-aws/client-iam)
|
|
5
|
+
|
|
3
6
|
## Installation
|
|
4
7
|
|
|
5
8
|
```bash
|
|
@@ -11,13 +14,13 @@ npm install --save @effect-aws/client-iam
|
|
|
11
14
|
With default IAMClient instance:
|
|
12
15
|
|
|
13
16
|
```typescript
|
|
14
|
-
import {
|
|
17
|
+
import { IAM } from "@effect-aws/client-iam";
|
|
15
18
|
|
|
16
|
-
const program =
|
|
19
|
+
const program = IAM.createRole(args);
|
|
17
20
|
|
|
18
21
|
const result = pipe(
|
|
19
22
|
program,
|
|
20
|
-
Effect.provide(
|
|
23
|
+
Effect.provide(IAM.defaultLayer),
|
|
21
24
|
Effect.runPromise,
|
|
22
25
|
);
|
|
23
26
|
```
|
|
@@ -25,23 +28,15 @@ const result = pipe(
|
|
|
25
28
|
With custom IAMClient instance:
|
|
26
29
|
|
|
27
30
|
```typescript
|
|
28
|
-
import {
|
|
29
|
-
IAMService,
|
|
30
|
-
BaseIAMServiceLayer,
|
|
31
|
-
IAMClientInstance,
|
|
32
|
-
} from "@effect-aws/client-iam";
|
|
33
|
-
|
|
34
|
-
const program = IAMService.createRole(args);
|
|
31
|
+
import { IAM } from "@effect-aws/client-iam";
|
|
35
32
|
|
|
36
|
-
const
|
|
37
|
-
IAMClientInstance,
|
|
38
|
-
new IAMClient({ region: "eu-central-1" }),
|
|
39
|
-
);
|
|
33
|
+
const program = IAM.createRole(args);
|
|
40
34
|
|
|
41
35
|
const result = await pipe(
|
|
42
36
|
program,
|
|
43
|
-
Effect.provide(
|
|
44
|
-
|
|
37
|
+
Effect.provide(
|
|
38
|
+
IAM.baseLayer(() => new IAMClient({ region: "eu-central-1" })),
|
|
39
|
+
),
|
|
45
40
|
Effect.runPromise,
|
|
46
41
|
);
|
|
47
42
|
```
|
|
@@ -49,34 +44,15 @@ const result = await pipe(
|
|
|
49
44
|
With custom IAMClient configuration:
|
|
50
45
|
|
|
51
46
|
```typescript
|
|
52
|
-
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
DefaultIAMClientConfigLayer,
|
|
56
|
-
IAMClientInstance,
|
|
57
|
-
IAMClientInstanceConfig,
|
|
58
|
-
} from "@effect-aws/client-iam";
|
|
59
|
-
|
|
60
|
-
const program = IAMService.createRole(args);
|
|
61
|
-
|
|
62
|
-
const IAMClientInstanceLayer = Layer.provide(
|
|
63
|
-
Layer.effect(
|
|
64
|
-
IAMClientInstance,
|
|
65
|
-
IAMClientInstanceConfig.pipe(
|
|
66
|
-
Effect.map(
|
|
67
|
-
(config) => new IAMClient({ ...config, region: "eu-central-1" }),
|
|
68
|
-
),
|
|
69
|
-
),
|
|
70
|
-
),
|
|
71
|
-
DefaultIAMClientConfigLayer,
|
|
72
|
-
);
|
|
47
|
+
import { IAM } from "@effect-aws/client-iam";
|
|
48
|
+
|
|
49
|
+
const program = IAM.createRole(args);
|
|
73
50
|
|
|
74
51
|
const result = await pipe(
|
|
75
52
|
program,
|
|
76
|
-
Effect.provide(
|
|
77
|
-
Effect.provide(IAMClientInstanceLayer),
|
|
53
|
+
Effect.provide(IAM.layer({ region: "eu-central-1" })),
|
|
78
54
|
Effect.runPromiseExit,
|
|
79
55
|
);
|
|
80
56
|
```
|
|
81
57
|
|
|
82
|
-
or
|
|
58
|
+
or use `IAM.baseLayer((default) => new IAMClient({ ...default, region: "eu-central-1" }))`
|
package/lib/IAMService.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { type AddClientIDToOpenIDConnectProviderCommandInput, type AddClientIDToOpenIDConnectProviderCommandOutput, type AddRoleToInstanceProfileCommandInput, type AddRoleToInstanceProfileCommandOutput, type AddUserToGroupCommandInput, type AddUserToGroupCommandOutput, type AttachGroupPolicyCommandInput, type AttachGroupPolicyCommandOutput, type AttachRolePolicyCommandInput, type AttachRolePolicyCommandOutput, type AttachUserPolicyCommandInput, type AttachUserPolicyCommandOutput, type ChangePasswordCommandInput, type ChangePasswordCommandOutput, type CreateAccessKeyCommandInput, type CreateAccessKeyCommandOutput, type CreateAccountAliasCommandInput, type CreateAccountAliasCommandOutput, type CreateGroupCommandInput, type CreateGroupCommandOutput, type CreateInstanceProfileCommandInput, type CreateInstanceProfileCommandOutput, type CreateLoginProfileCommandInput, type CreateLoginProfileCommandOutput, type CreateOpenIDConnectProviderCommandInput, type CreateOpenIDConnectProviderCommandOutput, type CreatePolicyCommandInput, type CreatePolicyCommandOutput, type CreatePolicyVersionCommandInput, type CreatePolicyVersionCommandOutput, type CreateRoleCommandInput, type CreateRoleCommandOutput, type CreateSAMLProviderCommandInput, type CreateSAMLProviderCommandOutput, type CreateServiceLinkedRoleCommandInput, type CreateServiceLinkedRoleCommandOutput, type CreateServiceSpecificCredentialCommandInput, type CreateServiceSpecificCredentialCommandOutput, type CreateUserCommandInput, type CreateUserCommandOutput, type CreateVirtualMFADeviceCommandInput, type CreateVirtualMFADeviceCommandOutput, type DeactivateMFADeviceCommandInput, type DeactivateMFADeviceCommandOutput, type DeleteAccessKeyCommandInput, type DeleteAccessKeyCommandOutput, type DeleteAccountAliasCommandInput, type DeleteAccountAliasCommandOutput, type DeleteAccountPasswordPolicyCommandInput, type DeleteAccountPasswordPolicyCommandOutput, type DeleteGroupCommandInput, type DeleteGroupCommandOutput, type DeleteGroupPolicyCommandInput, type DeleteGroupPolicyCommandOutput, type DeleteInstanceProfileCommandInput, type DeleteInstanceProfileCommandOutput, type DeleteLoginProfileCommandInput, type DeleteLoginProfileCommandOutput, type DeleteOpenIDConnectProviderCommandInput, type DeleteOpenIDConnectProviderCommandOutput, type DeletePolicyCommandInput, type DeletePolicyCommandOutput, type DeletePolicyVersionCommandInput, type DeletePolicyVersionCommandOutput, type DeleteRoleCommandInput, type DeleteRoleCommandOutput, type DeleteRolePermissionsBoundaryCommandInput, type DeleteRolePermissionsBoundaryCommandOutput, type DeleteRolePolicyCommandInput, type DeleteRolePolicyCommandOutput, type DeleteSAMLProviderCommandInput, type DeleteSAMLProviderCommandOutput, type DeleteServerCertificateCommandInput, type DeleteServerCertificateCommandOutput, type DeleteServiceLinkedRoleCommandInput, type DeleteServiceLinkedRoleCommandOutput, type DeleteServiceSpecificCredentialCommandInput, type DeleteServiceSpecificCredentialCommandOutput, type DeleteSigningCertificateCommandInput, type DeleteSigningCertificateCommandOutput, type DeleteSSHPublicKeyCommandInput, type DeleteSSHPublicKeyCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DeleteUserPermissionsBoundaryCommandInput, type DeleteUserPermissionsBoundaryCommandOutput, type DeleteUserPolicyCommandInput, type DeleteUserPolicyCommandOutput, type DeleteVirtualMFADeviceCommandInput, type DeleteVirtualMFADeviceCommandOutput, type DetachGroupPolicyCommandInput, type DetachGroupPolicyCommandOutput, type DetachRolePolicyCommandInput, type DetachRolePolicyCommandOutput, type DetachUserPolicyCommandInput, type DetachUserPolicyCommandOutput, type EnableMFADeviceCommandInput, type EnableMFADeviceCommandOutput, type GenerateCredentialReportCommandInput, type GenerateCredentialReportCommandOutput, type GenerateOrganizationsAccessReportCommandInput, type GenerateOrganizationsAccessReportCommandOutput, type GenerateServiceLastAccessedDetailsCommandInput, type GenerateServiceLastAccessedDetailsCommandOutput, type GetAccessKeyLastUsedCommandInput, type GetAccessKeyLastUsedCommandOutput, type GetAccountAuthorizationDetailsCommandInput, type GetAccountAuthorizationDetailsCommandOutput, type GetAccountPasswordPolicyCommandInput, type GetAccountPasswordPolicyCommandOutput, type GetAccountSummaryCommandInput, type GetAccountSummaryCommandOutput, type GetContextKeysForCustomPolicyCommandInput, type GetContextKeysForCustomPolicyCommandOutput, type GetContextKeysForPrincipalPolicyCommandInput, type GetContextKeysForPrincipalPolicyCommandOutput, type GetCredentialReportCommandInput, type GetCredentialReportCommandOutput, type GetGroupCommandInput, type GetGroupCommandOutput, type GetGroupPolicyCommandInput, type GetGroupPolicyCommandOutput, type GetInstanceProfileCommandInput, type GetInstanceProfileCommandOutput, type GetLoginProfileCommandInput, type GetLoginProfileCommandOutput, type GetMFADeviceCommandInput, type GetMFADeviceCommandOutput, type GetOpenIDConnectProviderCommandInput, type GetOpenIDConnectProviderCommandOutput, type GetOrganizationsAccessReportCommandInput, type GetOrganizationsAccessReportCommandOutput, type GetPolicyCommandInput, type GetPolicyCommandOutput, type GetPolicyVersionCommandInput, type GetPolicyVersionCommandOutput, type GetRoleCommandInput, type GetRoleCommandOutput, type GetRolePolicyCommandInput, type GetRolePolicyCommandOutput, type GetSAMLProviderCommandInput, type GetSAMLProviderCommandOutput, type GetServerCertificateCommandInput, type GetServerCertificateCommandOutput, type GetServiceLastAccessedDetailsCommandInput, type GetServiceLastAccessedDetailsCommandOutput, type GetServiceLastAccessedDetailsWithEntitiesCommandInput, type GetServiceLastAccessedDetailsWithEntitiesCommandOutput, type GetServiceLinkedRoleDeletionStatusCommandInput, type GetServiceLinkedRoleDeletionStatusCommandOutput, type GetSSHPublicKeyCommandInput, type GetSSHPublicKeyCommandOutput, type GetUserCommandInput, type GetUserCommandOutput, type GetUserPolicyCommandInput, type GetUserPolicyCommandOutput, type ListAccessKeysCommandInput, type ListAccessKeysCommandOutput, type ListAccountAliasesCommandInput, type ListAccountAliasesCommandOutput, type ListAttachedGroupPoliciesCommandInput, type ListAttachedGroupPoliciesCommandOutput, type ListAttachedRolePoliciesCommandInput, type ListAttachedRolePoliciesCommandOutput, type ListAttachedUserPoliciesCommandInput, type ListAttachedUserPoliciesCommandOutput, type ListEntitiesForPolicyCommandInput, type ListEntitiesForPolicyCommandOutput, type ListGroupPoliciesCommandInput, type ListGroupPoliciesCommandOutput, type ListGroupsCommandInput, type ListGroupsCommandOutput, type ListGroupsForUserCommandInput, type ListGroupsForUserCommandOutput, type ListInstanceProfilesCommandInput, type ListInstanceProfilesCommandOutput, type ListInstanceProfilesForRoleCommandInput, type ListInstanceProfilesForRoleCommandOutput, type ListInstanceProfileTagsCommandInput, type ListInstanceProfileTagsCommandOutput, type ListMFADevicesCommandInput, type ListMFADevicesCommandOutput, type ListMFADeviceTagsCommandInput, type ListMFADeviceTagsCommandOutput, type ListOpenIDConnectProvidersCommandInput, type ListOpenIDConnectProvidersCommandOutput, type ListOpenIDConnectProviderTagsCommandInput, type ListOpenIDConnectProviderTagsCommandOutput, type ListPoliciesCommandInput, type ListPoliciesCommandOutput, type ListPoliciesGrantingServiceAccessCommandInput, type ListPoliciesGrantingServiceAccessCommandOutput, type ListPolicyTagsCommandInput, type ListPolicyTagsCommandOutput, type ListPolicyVersionsCommandInput, type ListPolicyVersionsCommandOutput, type ListRolePoliciesCommandInput, type ListRolePoliciesCommandOutput, type ListRolesCommandInput, type ListRolesCommandOutput, type ListRoleTagsCommandInput, type ListRoleTagsCommandOutput, type ListSAMLProvidersCommandInput, type ListSAMLProvidersCommandOutput, type ListSAMLProviderTagsCommandInput, type ListSAMLProviderTagsCommandOutput, type ListServerCertificatesCommandInput, type ListServerCertificatesCommandOutput, type ListServerCertificateTagsCommandInput, type ListServerCertificateTagsCommandOutput, type ListServiceSpecificCredentialsCommandInput, type ListServiceSpecificCredentialsCommandOutput, type ListSigningCertificatesCommandInput, type ListSigningCertificatesCommandOutput, type ListSSHPublicKeysCommandInput, type ListSSHPublicKeysCommandOutput, type ListUserPoliciesCommandInput, type ListUserPoliciesCommandOutput, type ListUsersCommandInput, type ListUsersCommandOutput, type ListUserTagsCommandInput, type ListUserTagsCommandOutput, type ListVirtualMFADevicesCommandInput, type ListVirtualMFADevicesCommandOutput, type PutGroupPolicyCommandInput, type PutGroupPolicyCommandOutput, type PutRolePermissionsBoundaryCommandInput, type PutRolePermissionsBoundaryCommandOutput, type PutRolePolicyCommandInput, type PutRolePolicyCommandOutput, type PutUserPermissionsBoundaryCommandInput, type PutUserPermissionsBoundaryCommandOutput, type PutUserPolicyCommandInput, type PutUserPolicyCommandOutput, type RemoveClientIDFromOpenIDConnectProviderCommandInput, type RemoveClientIDFromOpenIDConnectProviderCommandOutput, type RemoveRoleFromInstanceProfileCommandInput, type RemoveRoleFromInstanceProfileCommandOutput, type RemoveUserFromGroupCommandInput, type RemoveUserFromGroupCommandOutput, type ResetServiceSpecificCredentialCommandInput, type ResetServiceSpecificCredentialCommandOutput, type ResyncMFADeviceCommandInput, type ResyncMFADeviceCommandOutput, type SetDefaultPolicyVersionCommandInput, type SetDefaultPolicyVersionCommandOutput, type SetSecurityTokenServicePreferencesCommandInput, type SetSecurityTokenServicePreferencesCommandOutput, type SimulateCustomPolicyCommandInput, type SimulateCustomPolicyCommandOutput, type SimulatePrincipalPolicyCommandInput, type SimulatePrincipalPolicyCommandOutput, type TagInstanceProfileCommandInput, type TagInstanceProfileCommandOutput, type TagMFADeviceCommandInput, type TagMFADeviceCommandOutput, type TagOpenIDConnectProviderCommandInput, type TagOpenIDConnectProviderCommandOutput, type TagPolicyCommandInput, type TagPolicyCommandOutput, type TagRoleCommandInput, type TagRoleCommandOutput, type TagSAMLProviderCommandInput, type TagSAMLProviderCommandOutput, type TagServerCertificateCommandInput, type TagServerCertificateCommandOutput, type TagUserCommandInput, type TagUserCommandOutput, type UntagInstanceProfileCommandInput, type UntagInstanceProfileCommandOutput, type UntagMFADeviceCommandInput, type UntagMFADeviceCommandOutput, type UntagOpenIDConnectProviderCommandInput, type UntagOpenIDConnectProviderCommandOutput, type UntagPolicyCommandInput, type UntagPolicyCommandOutput, type UntagRoleCommandInput, type UntagRoleCommandOutput, type UntagSAMLProviderCommandInput, type UntagSAMLProviderCommandOutput, type UntagServerCertificateCommandInput, type UntagServerCertificateCommandOutput, type UntagUserCommandInput, type UntagUserCommandOutput, type UpdateAccessKeyCommandInput, type UpdateAccessKeyCommandOutput, type UpdateAccountPasswordPolicyCommandInput, type UpdateAccountPasswordPolicyCommandOutput, type UpdateAssumeRolePolicyCommandInput, type UpdateAssumeRolePolicyCommandOutput, type UpdateGroupCommandInput, type UpdateGroupCommandOutput, type UpdateLoginProfileCommandInput, type UpdateLoginProfileCommandOutput, type UpdateOpenIDConnectProviderThumbprintCommandInput, type UpdateOpenIDConnectProviderThumbprintCommandOutput, type UpdateRoleCommandInput, type UpdateRoleCommandOutput, type UpdateRoleDescriptionCommandInput, type UpdateRoleDescriptionCommandOutput, type UpdateSAMLProviderCommandInput, type UpdateSAMLProviderCommandOutput, type UpdateServerCertificateCommandInput, type UpdateServerCertificateCommandOutput, type UpdateServiceSpecificCredentialCommandInput, type UpdateServiceSpecificCredentialCommandOutput, type UpdateSigningCertificateCommandInput, type UpdateSigningCertificateCommandOutput, type UpdateSSHPublicKeyCommandInput, type UpdateSSHPublicKeyCommandOutput, type UpdateUserCommandInput, type UpdateUserCommandOutput, type UploadServerCertificateCommandInput, type UploadServerCertificateCommandOutput, type UploadSigningCertificateCommandInput, type UploadSigningCertificateCommandOutput, type UploadSSHPublicKeyCommandInput, type UploadSSHPublicKeyCommandOutput } from "@aws-sdk/client-iam";
|
|
4
|
+
import { type IAMClient, type IAMClientConfig, type AddClientIDToOpenIDConnectProviderCommandInput, type AddClientIDToOpenIDConnectProviderCommandOutput, type AddRoleToInstanceProfileCommandInput, type AddRoleToInstanceProfileCommandOutput, type AddUserToGroupCommandInput, type AddUserToGroupCommandOutput, type AttachGroupPolicyCommandInput, type AttachGroupPolicyCommandOutput, type AttachRolePolicyCommandInput, type AttachRolePolicyCommandOutput, type AttachUserPolicyCommandInput, type AttachUserPolicyCommandOutput, type ChangePasswordCommandInput, type ChangePasswordCommandOutput, type CreateAccessKeyCommandInput, type CreateAccessKeyCommandOutput, type CreateAccountAliasCommandInput, type CreateAccountAliasCommandOutput, type CreateGroupCommandInput, type CreateGroupCommandOutput, type CreateInstanceProfileCommandInput, type CreateInstanceProfileCommandOutput, type CreateLoginProfileCommandInput, type CreateLoginProfileCommandOutput, type CreateOpenIDConnectProviderCommandInput, type CreateOpenIDConnectProviderCommandOutput, type CreatePolicyCommandInput, type CreatePolicyCommandOutput, type CreatePolicyVersionCommandInput, type CreatePolicyVersionCommandOutput, type CreateRoleCommandInput, type CreateRoleCommandOutput, type CreateSAMLProviderCommandInput, type CreateSAMLProviderCommandOutput, type CreateServiceLinkedRoleCommandInput, type CreateServiceLinkedRoleCommandOutput, type CreateServiceSpecificCredentialCommandInput, type CreateServiceSpecificCredentialCommandOutput, type CreateUserCommandInput, type CreateUserCommandOutput, type CreateVirtualMFADeviceCommandInput, type CreateVirtualMFADeviceCommandOutput, type DeactivateMFADeviceCommandInput, type DeactivateMFADeviceCommandOutput, type DeleteAccessKeyCommandInput, type DeleteAccessKeyCommandOutput, type DeleteAccountAliasCommandInput, type DeleteAccountAliasCommandOutput, type DeleteAccountPasswordPolicyCommandInput, type DeleteAccountPasswordPolicyCommandOutput, type DeleteGroupCommandInput, type DeleteGroupCommandOutput, type DeleteGroupPolicyCommandInput, type DeleteGroupPolicyCommandOutput, type DeleteInstanceProfileCommandInput, type DeleteInstanceProfileCommandOutput, type DeleteLoginProfileCommandInput, type DeleteLoginProfileCommandOutput, type DeleteOpenIDConnectProviderCommandInput, type DeleteOpenIDConnectProviderCommandOutput, type DeletePolicyCommandInput, type DeletePolicyCommandOutput, type DeletePolicyVersionCommandInput, type DeletePolicyVersionCommandOutput, type DeleteRoleCommandInput, type DeleteRoleCommandOutput, type DeleteRolePermissionsBoundaryCommandInput, type DeleteRolePermissionsBoundaryCommandOutput, type DeleteRolePolicyCommandInput, type DeleteRolePolicyCommandOutput, type DeleteSAMLProviderCommandInput, type DeleteSAMLProviderCommandOutput, type DeleteSSHPublicKeyCommandInput, type DeleteSSHPublicKeyCommandOutput, type DeleteServerCertificateCommandInput, type DeleteServerCertificateCommandOutput, type DeleteServiceLinkedRoleCommandInput, type DeleteServiceLinkedRoleCommandOutput, type DeleteServiceSpecificCredentialCommandInput, type DeleteServiceSpecificCredentialCommandOutput, type DeleteSigningCertificateCommandInput, type DeleteSigningCertificateCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DeleteUserPermissionsBoundaryCommandInput, type DeleteUserPermissionsBoundaryCommandOutput, type DeleteUserPolicyCommandInput, type DeleteUserPolicyCommandOutput, type DeleteVirtualMFADeviceCommandInput, type DeleteVirtualMFADeviceCommandOutput, type DetachGroupPolicyCommandInput, type DetachGroupPolicyCommandOutput, type DetachRolePolicyCommandInput, type DetachRolePolicyCommandOutput, type DetachUserPolicyCommandInput, type DetachUserPolicyCommandOutput, type EnableMFADeviceCommandInput, type EnableMFADeviceCommandOutput, type GenerateCredentialReportCommandInput, type GenerateCredentialReportCommandOutput, type GenerateOrganizationsAccessReportCommandInput, type GenerateOrganizationsAccessReportCommandOutput, type GenerateServiceLastAccessedDetailsCommandInput, type GenerateServiceLastAccessedDetailsCommandOutput, type GetAccessKeyLastUsedCommandInput, type GetAccessKeyLastUsedCommandOutput, type GetAccountAuthorizationDetailsCommandInput, type GetAccountAuthorizationDetailsCommandOutput, type GetAccountPasswordPolicyCommandInput, type GetAccountPasswordPolicyCommandOutput, type GetAccountSummaryCommandInput, type GetAccountSummaryCommandOutput, type GetContextKeysForCustomPolicyCommandInput, type GetContextKeysForCustomPolicyCommandOutput, type GetContextKeysForPrincipalPolicyCommandInput, type GetContextKeysForPrincipalPolicyCommandOutput, type GetCredentialReportCommandInput, type GetCredentialReportCommandOutput, type GetGroupCommandInput, type GetGroupCommandOutput, type GetGroupPolicyCommandInput, type GetGroupPolicyCommandOutput, type GetInstanceProfileCommandInput, type GetInstanceProfileCommandOutput, type GetLoginProfileCommandInput, type GetLoginProfileCommandOutput, type GetMFADeviceCommandInput, type GetMFADeviceCommandOutput, type GetOpenIDConnectProviderCommandInput, type GetOpenIDConnectProviderCommandOutput, type GetOrganizationsAccessReportCommandInput, type GetOrganizationsAccessReportCommandOutput, type GetPolicyCommandInput, type GetPolicyCommandOutput, type GetPolicyVersionCommandInput, type GetPolicyVersionCommandOutput, type GetRoleCommandInput, type GetRoleCommandOutput, type GetRolePolicyCommandInput, type GetRolePolicyCommandOutput, type GetSAMLProviderCommandInput, type GetSAMLProviderCommandOutput, type GetSSHPublicKeyCommandInput, type GetSSHPublicKeyCommandOutput, type GetServerCertificateCommandInput, type GetServerCertificateCommandOutput, type GetServiceLastAccessedDetailsCommandInput, type GetServiceLastAccessedDetailsCommandOutput, type GetServiceLastAccessedDetailsWithEntitiesCommandInput, type GetServiceLastAccessedDetailsWithEntitiesCommandOutput, type GetServiceLinkedRoleDeletionStatusCommandInput, type GetServiceLinkedRoleDeletionStatusCommandOutput, type GetUserCommandInput, type GetUserCommandOutput, type GetUserPolicyCommandInput, type GetUserPolicyCommandOutput, type ListAccessKeysCommandInput, type ListAccessKeysCommandOutput, type ListAccountAliasesCommandInput, type ListAccountAliasesCommandOutput, type ListAttachedGroupPoliciesCommandInput, type ListAttachedGroupPoliciesCommandOutput, type ListAttachedRolePoliciesCommandInput, type ListAttachedRolePoliciesCommandOutput, type ListAttachedUserPoliciesCommandInput, type ListAttachedUserPoliciesCommandOutput, type ListEntitiesForPolicyCommandInput, type ListEntitiesForPolicyCommandOutput, type ListGroupPoliciesCommandInput, type ListGroupPoliciesCommandOutput, type ListGroupsCommandInput, type ListGroupsCommandOutput, type ListGroupsForUserCommandInput, type ListGroupsForUserCommandOutput, type ListInstanceProfileTagsCommandInput, type ListInstanceProfileTagsCommandOutput, type ListInstanceProfilesCommandInput, type ListInstanceProfilesCommandOutput, type ListInstanceProfilesForRoleCommandInput, type ListInstanceProfilesForRoleCommandOutput, type ListMFADeviceTagsCommandInput, type ListMFADeviceTagsCommandOutput, type ListMFADevicesCommandInput, type ListMFADevicesCommandOutput, type ListOpenIDConnectProviderTagsCommandInput, type ListOpenIDConnectProviderTagsCommandOutput, type ListOpenIDConnectProvidersCommandInput, type ListOpenIDConnectProvidersCommandOutput, type ListPoliciesCommandInput, type ListPoliciesCommandOutput, type ListPoliciesGrantingServiceAccessCommandInput, type ListPoliciesGrantingServiceAccessCommandOutput, type ListPolicyTagsCommandInput, type ListPolicyTagsCommandOutput, type ListPolicyVersionsCommandInput, type ListPolicyVersionsCommandOutput, type ListRolePoliciesCommandInput, type ListRolePoliciesCommandOutput, type ListRoleTagsCommandInput, type ListRoleTagsCommandOutput, type ListRolesCommandInput, type ListRolesCommandOutput, type ListSAMLProviderTagsCommandInput, type ListSAMLProviderTagsCommandOutput, type ListSAMLProvidersCommandInput, type ListSAMLProvidersCommandOutput, type ListSSHPublicKeysCommandInput, type ListSSHPublicKeysCommandOutput, type ListServerCertificateTagsCommandInput, type ListServerCertificateTagsCommandOutput, type ListServerCertificatesCommandInput, type ListServerCertificatesCommandOutput, type ListServiceSpecificCredentialsCommandInput, type ListServiceSpecificCredentialsCommandOutput, type ListSigningCertificatesCommandInput, type ListSigningCertificatesCommandOutput, type ListUserPoliciesCommandInput, type ListUserPoliciesCommandOutput, type ListUserTagsCommandInput, type ListUserTagsCommandOutput, type ListUsersCommandInput, type ListUsersCommandOutput, type ListVirtualMFADevicesCommandInput, type ListVirtualMFADevicesCommandOutput, type PutGroupPolicyCommandInput, type PutGroupPolicyCommandOutput, type PutRolePermissionsBoundaryCommandInput, type PutRolePermissionsBoundaryCommandOutput, type PutRolePolicyCommandInput, type PutRolePolicyCommandOutput, type PutUserPermissionsBoundaryCommandInput, type PutUserPermissionsBoundaryCommandOutput, type PutUserPolicyCommandInput, type PutUserPolicyCommandOutput, type RemoveClientIDFromOpenIDConnectProviderCommandInput, type RemoveClientIDFromOpenIDConnectProviderCommandOutput, type RemoveRoleFromInstanceProfileCommandInput, type RemoveRoleFromInstanceProfileCommandOutput, type RemoveUserFromGroupCommandInput, type RemoveUserFromGroupCommandOutput, type ResetServiceSpecificCredentialCommandInput, type ResetServiceSpecificCredentialCommandOutput, type ResyncMFADeviceCommandInput, type ResyncMFADeviceCommandOutput, type SetDefaultPolicyVersionCommandInput, type SetDefaultPolicyVersionCommandOutput, type SetSecurityTokenServicePreferencesCommandInput, type SetSecurityTokenServicePreferencesCommandOutput, type SimulateCustomPolicyCommandInput, type SimulateCustomPolicyCommandOutput, type SimulatePrincipalPolicyCommandInput, type SimulatePrincipalPolicyCommandOutput, type TagInstanceProfileCommandInput, type TagInstanceProfileCommandOutput, type TagMFADeviceCommandInput, type TagMFADeviceCommandOutput, type TagOpenIDConnectProviderCommandInput, type TagOpenIDConnectProviderCommandOutput, type TagPolicyCommandInput, type TagPolicyCommandOutput, type TagRoleCommandInput, type TagRoleCommandOutput, type TagSAMLProviderCommandInput, type TagSAMLProviderCommandOutput, type TagServerCertificateCommandInput, type TagServerCertificateCommandOutput, type TagUserCommandInput, type TagUserCommandOutput, type UntagInstanceProfileCommandInput, type UntagInstanceProfileCommandOutput, type UntagMFADeviceCommandInput, type UntagMFADeviceCommandOutput, type UntagOpenIDConnectProviderCommandInput, type UntagOpenIDConnectProviderCommandOutput, type UntagPolicyCommandInput, type UntagPolicyCommandOutput, type UntagRoleCommandInput, type UntagRoleCommandOutput, type UntagSAMLProviderCommandInput, type UntagSAMLProviderCommandOutput, type UntagServerCertificateCommandInput, type UntagServerCertificateCommandOutput, type UntagUserCommandInput, type UntagUserCommandOutput, type UpdateAccessKeyCommandInput, type UpdateAccessKeyCommandOutput, type UpdateAccountPasswordPolicyCommandInput, type UpdateAccountPasswordPolicyCommandOutput, type UpdateAssumeRolePolicyCommandInput, type UpdateAssumeRolePolicyCommandOutput, type UpdateGroupCommandInput, type UpdateGroupCommandOutput, type UpdateLoginProfileCommandInput, type UpdateLoginProfileCommandOutput, type UpdateOpenIDConnectProviderThumbprintCommandInput, type UpdateOpenIDConnectProviderThumbprintCommandOutput, type UpdateRoleCommandInput, type UpdateRoleCommandOutput, type UpdateRoleDescriptionCommandInput, type UpdateRoleDescriptionCommandOutput, type UpdateSAMLProviderCommandInput, type UpdateSAMLProviderCommandOutput, type UpdateSSHPublicKeyCommandInput, type UpdateSSHPublicKeyCommandOutput, type UpdateServerCertificateCommandInput, type UpdateServerCertificateCommandOutput, type UpdateServiceSpecificCredentialCommandInput, type UpdateServiceSpecificCredentialCommandOutput, type UpdateSigningCertificateCommandInput, type UpdateSigningCertificateCommandOutput, type UpdateUserCommandInput, type UpdateUserCommandOutput, type UploadSSHPublicKeyCommandInput, type UploadSSHPublicKeyCommandOutput, type UploadServerCertificateCommandInput, type UploadServerCertificateCommandOutput, type UploadSigningCertificateCommandInput, type UploadSigningCertificateCommandOutput } from "@aws-sdk/client-iam";
|
|
5
5
|
import { Effect, Layer } from "effect";
|
|
6
6
|
import { ConcurrentModificationError, CredentialReportExpiredError, CredentialReportNotPresentError, CredentialReportNotReadyError, DeleteConflictError, DuplicateCertificateError, DuplicateSSHPublicKeyError, EntityAlreadyExistsError, EntityTemporarilyUnmodifiableError, InvalidAuthenticationCodeError, InvalidCertificateError, InvalidInputError, InvalidPublicKeyError, InvalidUserTypeError, KeyPairMismatchError, LimitExceededError, MalformedCertificateError, MalformedPolicyDocumentError, NoSuchEntityError, OpenIdIdpCommunicationError, PasswordPolicyViolationError, PolicyEvaluationError, PolicyNotAttachableError, ReportGenerationLimitExceededError, ServiceFailureError, ServiceNotSupportedError, UnmodifiableEntityError, UnrecognizedPublicKeyEncodingError, SdkError } from "./Errors";
|
|
7
7
|
import { IAMClientInstance } from "./IAMClientInstance";
|
|
8
|
-
|
|
8
|
+
import { IAMClientInstanceConfig } from "./IAMClientInstanceConfig";
|
|
9
|
+
/**
|
|
10
|
+
* @since 1.0.0
|
|
11
|
+
*/
|
|
12
|
+
export interface HttpHandlerOptions {
|
|
9
13
|
/**
|
|
10
14
|
* The maximum time in milliseconds that the connection phase of a request
|
|
11
15
|
* may take before the connection attempt is abandoned.
|
|
@@ -158,6 +162,10 @@ interface IAMService$ {
|
|
|
158
162
|
* @see {@link DeleteSAMLProviderCommand}
|
|
159
163
|
*/
|
|
160
164
|
deleteSAMLProvider(args: DeleteSAMLProviderCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSAMLProviderCommandOutput, SdkError | InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError>;
|
|
165
|
+
/**
|
|
166
|
+
* @see {@link DeleteSSHPublicKeyCommand}
|
|
167
|
+
*/
|
|
168
|
+
deleteSSHPublicKey(args: DeleteSSHPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSSHPublicKeyCommandOutput, SdkError | NoSuchEntityError>;
|
|
161
169
|
/**
|
|
162
170
|
* @see {@link DeleteServerCertificateCommand}
|
|
163
171
|
*/
|
|
@@ -174,10 +182,6 @@ interface IAMService$ {
|
|
|
174
182
|
* @see {@link DeleteSigningCertificateCommand}
|
|
175
183
|
*/
|
|
176
184
|
deleteSigningCertificate(args: DeleteSigningCertificateCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSigningCertificateCommandOutput, SdkError | ConcurrentModificationError | LimitExceededError | NoSuchEntityError | ServiceFailureError>;
|
|
177
|
-
/**
|
|
178
|
-
* @see {@link DeleteSSHPublicKeyCommand}
|
|
179
|
-
*/
|
|
180
|
-
deleteSSHPublicKey(args: DeleteSSHPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSSHPublicKeyCommandOutput, SdkError | NoSuchEntityError>;
|
|
181
185
|
/**
|
|
182
186
|
* @see {@link DeleteUserCommand}
|
|
183
187
|
*/
|
|
@@ -298,6 +302,10 @@ interface IAMService$ {
|
|
|
298
302
|
* @see {@link GetSAMLProviderCommand}
|
|
299
303
|
*/
|
|
300
304
|
getSAMLProvider(args: GetSAMLProviderCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSAMLProviderCommandOutput, SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError>;
|
|
305
|
+
/**
|
|
306
|
+
* @see {@link GetSSHPublicKeyCommand}
|
|
307
|
+
*/
|
|
308
|
+
getSSHPublicKey(args: GetSSHPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSSHPublicKeyCommandOutput, SdkError | NoSuchEntityError | UnrecognizedPublicKeyEncodingError>;
|
|
301
309
|
/**
|
|
302
310
|
* @see {@link GetServerCertificateCommand}
|
|
303
311
|
*/
|
|
@@ -314,10 +322,6 @@ interface IAMService$ {
|
|
|
314
322
|
* @see {@link GetServiceLinkedRoleDeletionStatusCommand}
|
|
315
323
|
*/
|
|
316
324
|
getServiceLinkedRoleDeletionStatus(args: GetServiceLinkedRoleDeletionStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetServiceLinkedRoleDeletionStatusCommandOutput, SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError>;
|
|
317
|
-
/**
|
|
318
|
-
* @see {@link GetSSHPublicKeyCommand}
|
|
319
|
-
*/
|
|
320
|
-
getSSHPublicKey(args: GetSSHPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSSHPublicKeyCommandOutput, SdkError | NoSuchEntityError | UnrecognizedPublicKeyEncodingError>;
|
|
321
325
|
/**
|
|
322
326
|
* @see {@link GetUserCommand}
|
|
323
327
|
*/
|
|
@@ -362,6 +366,10 @@ interface IAMService$ {
|
|
|
362
366
|
* @see {@link ListGroupsForUserCommand}
|
|
363
367
|
*/
|
|
364
368
|
listGroupsForUser(args: ListGroupsForUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListGroupsForUserCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
369
|
+
/**
|
|
370
|
+
* @see {@link ListInstanceProfileTagsCommand}
|
|
371
|
+
*/
|
|
372
|
+
listInstanceProfileTags(args: ListInstanceProfileTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListInstanceProfileTagsCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
365
373
|
/**
|
|
366
374
|
* @see {@link ListInstanceProfilesCommand}
|
|
367
375
|
*/
|
|
@@ -371,25 +379,21 @@ interface IAMService$ {
|
|
|
371
379
|
*/
|
|
372
380
|
listInstanceProfilesForRole(args: ListInstanceProfilesForRoleCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListInstanceProfilesForRoleCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
373
381
|
/**
|
|
374
|
-
* @see {@link
|
|
382
|
+
* @see {@link ListMFADeviceTagsCommand}
|
|
375
383
|
*/
|
|
376
|
-
|
|
384
|
+
listMFADeviceTags(args: ListMFADeviceTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListMFADeviceTagsCommandOutput, SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError>;
|
|
377
385
|
/**
|
|
378
386
|
* @see {@link ListMFADevicesCommand}
|
|
379
387
|
*/
|
|
380
388
|
listMFADevices(args: ListMFADevicesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListMFADevicesCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
381
389
|
/**
|
|
382
|
-
* @see {@link
|
|
390
|
+
* @see {@link ListOpenIDConnectProviderTagsCommand}
|
|
383
391
|
*/
|
|
384
|
-
|
|
392
|
+
listOpenIDConnectProviderTags(args: ListOpenIDConnectProviderTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListOpenIDConnectProviderTagsCommandOutput, SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError>;
|
|
385
393
|
/**
|
|
386
394
|
* @see {@link ListOpenIDConnectProvidersCommand}
|
|
387
395
|
*/
|
|
388
396
|
listOpenIDConnectProviders(args: ListOpenIDConnectProvidersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListOpenIDConnectProvidersCommandOutput, SdkError | ServiceFailureError>;
|
|
389
|
-
/**
|
|
390
|
-
* @see {@link ListOpenIDConnectProviderTagsCommand}
|
|
391
|
-
*/
|
|
392
|
-
listOpenIDConnectProviderTags(args: ListOpenIDConnectProviderTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListOpenIDConnectProviderTagsCommandOutput, SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError>;
|
|
393
397
|
/**
|
|
394
398
|
* @see {@link ListPoliciesCommand}
|
|
395
399
|
*/
|
|
@@ -410,30 +414,34 @@ interface IAMService$ {
|
|
|
410
414
|
* @see {@link ListRolePoliciesCommand}
|
|
411
415
|
*/
|
|
412
416
|
listRolePolicies(args: ListRolePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRolePoliciesCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
413
|
-
/**
|
|
414
|
-
* @see {@link ListRolesCommand}
|
|
415
|
-
*/
|
|
416
|
-
listRoles(args: ListRolesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRolesCommandOutput, SdkError | ServiceFailureError>;
|
|
417
417
|
/**
|
|
418
418
|
* @see {@link ListRoleTagsCommand}
|
|
419
419
|
*/
|
|
420
420
|
listRoleTags(args: ListRoleTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRoleTagsCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
421
421
|
/**
|
|
422
|
-
* @see {@link
|
|
422
|
+
* @see {@link ListRolesCommand}
|
|
423
423
|
*/
|
|
424
|
-
|
|
424
|
+
listRoles(args: ListRolesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRolesCommandOutput, SdkError | ServiceFailureError>;
|
|
425
425
|
/**
|
|
426
426
|
* @see {@link ListSAMLProviderTagsCommand}
|
|
427
427
|
*/
|
|
428
428
|
listSAMLProviderTags(args: ListSAMLProviderTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSAMLProviderTagsCommandOutput, SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError>;
|
|
429
429
|
/**
|
|
430
|
-
* @see {@link
|
|
430
|
+
* @see {@link ListSAMLProvidersCommand}
|
|
431
431
|
*/
|
|
432
|
-
|
|
432
|
+
listSAMLProviders(args: ListSAMLProvidersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSAMLProvidersCommandOutput, SdkError | ServiceFailureError>;
|
|
433
|
+
/**
|
|
434
|
+
* @see {@link ListSSHPublicKeysCommand}
|
|
435
|
+
*/
|
|
436
|
+
listSSHPublicKeys(args: ListSSHPublicKeysCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSSHPublicKeysCommandOutput, SdkError | NoSuchEntityError>;
|
|
433
437
|
/**
|
|
434
438
|
* @see {@link ListServerCertificateTagsCommand}
|
|
435
439
|
*/
|
|
436
440
|
listServerCertificateTags(args: ListServerCertificateTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListServerCertificateTagsCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
441
|
+
/**
|
|
442
|
+
* @see {@link ListServerCertificatesCommand}
|
|
443
|
+
*/
|
|
444
|
+
listServerCertificates(args: ListServerCertificatesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListServerCertificatesCommandOutput, SdkError | ServiceFailureError>;
|
|
437
445
|
/**
|
|
438
446
|
* @see {@link ListServiceSpecificCredentialsCommand}
|
|
439
447
|
*/
|
|
@@ -442,22 +450,18 @@ interface IAMService$ {
|
|
|
442
450
|
* @see {@link ListSigningCertificatesCommand}
|
|
443
451
|
*/
|
|
444
452
|
listSigningCertificates(args: ListSigningCertificatesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSigningCertificatesCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
445
|
-
/**
|
|
446
|
-
* @see {@link ListSSHPublicKeysCommand}
|
|
447
|
-
*/
|
|
448
|
-
listSSHPublicKeys(args: ListSSHPublicKeysCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSSHPublicKeysCommandOutput, SdkError | NoSuchEntityError>;
|
|
449
453
|
/**
|
|
450
454
|
* @see {@link ListUserPoliciesCommand}
|
|
451
455
|
*/
|
|
452
456
|
listUserPolicies(args: ListUserPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUserPoliciesCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
453
|
-
/**
|
|
454
|
-
* @see {@link ListUsersCommand}
|
|
455
|
-
*/
|
|
456
|
-
listUsers(args: ListUsersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUsersCommandOutput, SdkError | ServiceFailureError>;
|
|
457
457
|
/**
|
|
458
458
|
* @see {@link ListUserTagsCommand}
|
|
459
459
|
*/
|
|
460
460
|
listUserTags(args: ListUserTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUserTagsCommandOutput, SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
461
|
+
/**
|
|
462
|
+
* @see {@link ListUsersCommand}
|
|
463
|
+
*/
|
|
464
|
+
listUsers(args: ListUsersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUsersCommandOutput, SdkError | ServiceFailureError>;
|
|
461
465
|
/**
|
|
462
466
|
* @see {@link ListVirtualMFADevicesCommand}
|
|
463
467
|
*/
|
|
@@ -618,6 +622,10 @@ interface IAMService$ {
|
|
|
618
622
|
* @see {@link UpdateSAMLProviderCommand}
|
|
619
623
|
*/
|
|
620
624
|
updateSAMLProvider(args: UpdateSAMLProviderCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSAMLProviderCommandOutput, SdkError | InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError>;
|
|
625
|
+
/**
|
|
626
|
+
* @see {@link UpdateSSHPublicKeyCommand}
|
|
627
|
+
*/
|
|
628
|
+
updateSSHPublicKey(args: UpdateSSHPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSSHPublicKeyCommandOutput, SdkError | NoSuchEntityError>;
|
|
621
629
|
/**
|
|
622
630
|
* @see {@link UpdateServerCertificateCommand}
|
|
623
631
|
*/
|
|
@@ -630,14 +638,14 @@ interface IAMService$ {
|
|
|
630
638
|
* @see {@link UpdateSigningCertificateCommand}
|
|
631
639
|
*/
|
|
632
640
|
updateSigningCertificate(args: UpdateSigningCertificateCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSigningCertificateCommandOutput, SdkError | LimitExceededError | NoSuchEntityError | ServiceFailureError>;
|
|
633
|
-
/**
|
|
634
|
-
* @see {@link UpdateSSHPublicKeyCommand}
|
|
635
|
-
*/
|
|
636
|
-
updateSSHPublicKey(args: UpdateSSHPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSSHPublicKeyCommandOutput, SdkError | NoSuchEntityError>;
|
|
637
641
|
/**
|
|
638
642
|
* @see {@link UpdateUserCommand}
|
|
639
643
|
*/
|
|
640
644
|
updateUser(args: UpdateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserCommandOutput, SdkError | ConcurrentModificationError | EntityAlreadyExistsError | EntityTemporarilyUnmodifiableError | LimitExceededError | NoSuchEntityError | ServiceFailureError>;
|
|
645
|
+
/**
|
|
646
|
+
* @see {@link UploadSSHPublicKeyCommand}
|
|
647
|
+
*/
|
|
648
|
+
uploadSSHPublicKey(args: UploadSSHPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UploadSSHPublicKeyCommandOutput, SdkError | DuplicateSSHPublicKeyError | InvalidPublicKeyError | LimitExceededError | NoSuchEntityError | UnrecognizedPublicKeyEncodingError>;
|
|
641
649
|
/**
|
|
642
650
|
* @see {@link UploadServerCertificateCommand}
|
|
643
651
|
*/
|
|
@@ -646,11 +654,12 @@ interface IAMService$ {
|
|
|
646
654
|
* @see {@link UploadSigningCertificateCommand}
|
|
647
655
|
*/
|
|
648
656
|
uploadSigningCertificate(args: UploadSigningCertificateCommandInput, options?: HttpHandlerOptions): Effect.Effect<UploadSigningCertificateCommandOutput, SdkError | ConcurrentModificationError | DuplicateCertificateError | EntityAlreadyExistsError | InvalidCertificateError | LimitExceededError | MalformedCertificateError | NoSuchEntityError | ServiceFailureError>;
|
|
649
|
-
/**
|
|
650
|
-
* @see {@link UploadSSHPublicKeyCommand}
|
|
651
|
-
*/
|
|
652
|
-
uploadSSHPublicKey(args: UploadSSHPublicKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UploadSSHPublicKeyCommandOutput, SdkError | DuplicateSSHPublicKeyError | InvalidPublicKeyError | LimitExceededError | NoSuchEntityError | UnrecognizedPublicKeyEncodingError>;
|
|
653
657
|
}
|
|
658
|
+
/**
|
|
659
|
+
* @since 1.0.0
|
|
660
|
+
* @category constructors
|
|
661
|
+
*/
|
|
662
|
+
export declare const makeIAMService: Effect.Effect<IAMService$, never, IAMClientInstance>;
|
|
654
663
|
declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@effect-aws/client-iam/IAMService", IAMService$> & {
|
|
655
664
|
readonly _: Effect.Effect<IAMService$["_"], never, IAMService>;
|
|
656
665
|
addClientIDToOpenIDConnectProvider: (args: AddClientIDToOpenIDConnectProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AddClientIDToOpenIDConnectProviderCommandOutput, InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
@@ -689,11 +698,11 @@ declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@e
|
|
|
689
698
|
deleteRolePermissionsBoundary: (args: DeleteRolePermissionsBoundaryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteRolePermissionsBoundaryCommandOutput, NoSuchEntityError | ServiceFailureError | UnmodifiableEntityError | SdkError, IAMService>;
|
|
690
699
|
deleteRolePolicy: (args: DeleteRolePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteRolePolicyCommandOutput, LimitExceededError | NoSuchEntityError | ServiceFailureError | UnmodifiableEntityError | SdkError, IAMService>;
|
|
691
700
|
deleteSAMLProvider: (args: DeleteSAMLProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteSAMLProviderCommandOutput, InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
701
|
+
deleteSSHPublicKey: (args: DeleteSSHPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteSSHPublicKeyCommandOutput, NoSuchEntityError | SdkError, IAMService>;
|
|
692
702
|
deleteServerCertificate: (args: DeleteServerCertificateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteServerCertificateCommandOutput, DeleteConflictError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
693
703
|
deleteServiceLinkedRole: (args: DeleteServiceLinkedRoleCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteServiceLinkedRoleCommandOutput, LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
694
704
|
deleteServiceSpecificCredential: (args: DeleteServiceSpecificCredentialCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteServiceSpecificCredentialCommandOutput, NoSuchEntityError | SdkError, IAMService>;
|
|
695
705
|
deleteSigningCertificate: (args: DeleteSigningCertificateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteSigningCertificateCommandOutput, ConcurrentModificationError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
696
|
-
deleteSSHPublicKey: (args: DeleteSSHPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteSSHPublicKeyCommandOutput, NoSuchEntityError | SdkError, IAMService>;
|
|
697
706
|
deleteUser: (args: DeleteUserCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteUserCommandOutput, ConcurrentModificationError | DeleteConflictError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
698
707
|
deleteUserPermissionsBoundary: (args: DeleteUserPermissionsBoundaryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteUserPermissionsBoundaryCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
699
708
|
deleteUserPolicy: (args: DeleteUserPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteUserPolicyCommandOutput, LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
@@ -724,11 +733,11 @@ declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@e
|
|
|
724
733
|
getRole: (args: GetRoleCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetRoleCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
725
734
|
getRolePolicy: (args: GetRolePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetRolePolicyCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
726
735
|
getSAMLProvider: (args: GetSAMLProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetSAMLProviderCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
736
|
+
getSSHPublicKey: (args: GetSSHPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetSSHPublicKeyCommandOutput, NoSuchEntityError | UnrecognizedPublicKeyEncodingError | SdkError, IAMService>;
|
|
727
737
|
getServerCertificate: (args: GetServerCertificateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetServerCertificateCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
728
738
|
getServiceLastAccessedDetails: (args: GetServiceLastAccessedDetailsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetServiceLastAccessedDetailsCommandOutput, InvalidInputError | NoSuchEntityError | SdkError, IAMService>;
|
|
729
739
|
getServiceLastAccessedDetailsWithEntities: (args: GetServiceLastAccessedDetailsWithEntitiesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetServiceLastAccessedDetailsWithEntitiesCommandOutput, InvalidInputError | NoSuchEntityError | SdkError, IAMService>;
|
|
730
740
|
getServiceLinkedRoleDeletionStatus: (args: GetServiceLinkedRoleDeletionStatusCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetServiceLinkedRoleDeletionStatusCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
731
|
-
getSSHPublicKey: (args: GetSSHPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetSSHPublicKeyCommandOutput, NoSuchEntityError | UnrecognizedPublicKeyEncodingError | SdkError, IAMService>;
|
|
732
741
|
getUser: (args: GetUserCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetUserCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
733
742
|
getUserPolicy: (args: GetUserPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetUserPolicyCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
734
743
|
listAccessKeys: (args: ListAccessKeysCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListAccessKeysCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
@@ -740,30 +749,30 @@ declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@e
|
|
|
740
749
|
listGroupPolicies: (args: ListGroupPoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListGroupPoliciesCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
741
750
|
listGroups: (args: ListGroupsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListGroupsCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
742
751
|
listGroupsForUser: (args: ListGroupsForUserCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListGroupsForUserCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
752
|
+
listInstanceProfileTags: (args: ListInstanceProfileTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListInstanceProfileTagsCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
743
753
|
listInstanceProfiles: (args: ListInstanceProfilesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListInstanceProfilesCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
744
754
|
listInstanceProfilesForRole: (args: ListInstanceProfilesForRoleCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListInstanceProfilesForRoleCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
745
|
-
listInstanceProfileTags: (args: ListInstanceProfileTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListInstanceProfileTagsCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
746
|
-
listMFADevices: (args: ListMFADevicesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListMFADevicesCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
747
755
|
listMFADeviceTags: (args: ListMFADeviceTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListMFADeviceTagsCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
748
|
-
|
|
756
|
+
listMFADevices: (args: ListMFADevicesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListMFADevicesCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
749
757
|
listOpenIDConnectProviderTags: (args: ListOpenIDConnectProviderTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListOpenIDConnectProviderTagsCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
758
|
+
listOpenIDConnectProviders: (args: ListOpenIDConnectProvidersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListOpenIDConnectProvidersCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
750
759
|
listPolicies: (args: ListPoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPoliciesCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
751
760
|
listPoliciesGrantingServiceAccess: (args: ListPoliciesGrantingServiceAccessCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPoliciesGrantingServiceAccessCommandOutput, InvalidInputError | NoSuchEntityError | SdkError, IAMService>;
|
|
752
761
|
listPolicyTags: (args: ListPolicyTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPolicyTagsCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
753
762
|
listPolicyVersions: (args: ListPolicyVersionsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPolicyVersionsCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
754
763
|
listRolePolicies: (args: ListRolePoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListRolePoliciesCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
755
|
-
listRoles: (args: ListRolesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListRolesCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
756
764
|
listRoleTags: (args: ListRoleTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListRoleTagsCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
757
|
-
|
|
765
|
+
listRoles: (args: ListRolesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListRolesCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
758
766
|
listSAMLProviderTags: (args: ListSAMLProviderTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListSAMLProviderTagsCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
759
|
-
|
|
767
|
+
listSAMLProviders: (args: ListSAMLProvidersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListSAMLProvidersCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
768
|
+
listSSHPublicKeys: (args: ListSSHPublicKeysCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListSSHPublicKeysCommandOutput, NoSuchEntityError | SdkError, IAMService>;
|
|
760
769
|
listServerCertificateTags: (args: ListServerCertificateTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListServerCertificateTagsCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
770
|
+
listServerCertificates: (args: ListServerCertificatesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListServerCertificatesCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
761
771
|
listServiceSpecificCredentials: (args: ListServiceSpecificCredentialsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListServiceSpecificCredentialsCommandOutput, NoSuchEntityError | ServiceNotSupportedError | SdkError, IAMService>;
|
|
762
772
|
listSigningCertificates: (args: ListSigningCertificatesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListSigningCertificatesCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
763
|
-
listSSHPublicKeys: (args: ListSSHPublicKeysCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListSSHPublicKeysCommandOutput, NoSuchEntityError | SdkError, IAMService>;
|
|
764
773
|
listUserPolicies: (args: ListUserPoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListUserPoliciesCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
765
|
-
listUsers: (args: ListUsersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListUsersCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
766
774
|
listUserTags: (args: ListUserTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListUserTagsCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
775
|
+
listUsers: (args: ListUsersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListUsersCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
767
776
|
listVirtualMFADevices: (args: ListVirtualMFADevicesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListVirtualMFADevicesCommandOutput, SdkError, IAMService>;
|
|
768
777
|
putGroupPolicy: (args: PutGroupPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutGroupPolicyCommandOutput, LimitExceededError | MalformedPolicyDocumentError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
769
778
|
putRolePermissionsBoundary: (args: PutRolePermissionsBoundaryCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutRolePermissionsBoundaryCommandOutput, InvalidInputError | NoSuchEntityError | PolicyNotAttachableError | ServiceFailureError | UnmodifiableEntityError | SdkError, IAMService>;
|
|
@@ -804,14 +813,14 @@ declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@e
|
|
|
804
813
|
updateRole: (args: UpdateRoleCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateRoleCommandOutput, NoSuchEntityError | ServiceFailureError | UnmodifiableEntityError | SdkError, IAMService>;
|
|
805
814
|
updateRoleDescription: (args: UpdateRoleDescriptionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateRoleDescriptionCommandOutput, NoSuchEntityError | ServiceFailureError | UnmodifiableEntityError | SdkError, IAMService>;
|
|
806
815
|
updateSAMLProvider: (args: UpdateSAMLProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateSAMLProviderCommandOutput, InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
816
|
+
updateSSHPublicKey: (args: UpdateSSHPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateSSHPublicKeyCommandOutput, NoSuchEntityError | SdkError, IAMService>;
|
|
807
817
|
updateServerCertificate: (args: UpdateServerCertificateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateServerCertificateCommandOutput, EntityAlreadyExistsError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
808
818
|
updateServiceSpecificCredential: (args: UpdateServiceSpecificCredentialCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateServiceSpecificCredentialCommandOutput, NoSuchEntityError | SdkError, IAMService>;
|
|
809
819
|
updateSigningCertificate: (args: UpdateSigningCertificateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateSigningCertificateCommandOutput, LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
810
|
-
updateSSHPublicKey: (args: UpdateSSHPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateSSHPublicKeyCommandOutput, NoSuchEntityError | SdkError, IAMService>;
|
|
811
820
|
updateUser: (args: UpdateUserCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateUserCommandOutput, ConcurrentModificationError | EntityAlreadyExistsError | EntityTemporarilyUnmodifiableError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
821
|
+
uploadSSHPublicKey: (args: UploadSSHPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UploadSSHPublicKeyCommandOutput, DuplicateSSHPublicKeyError | InvalidPublicKeyError | LimitExceededError | NoSuchEntityError | UnrecognizedPublicKeyEncodingError | SdkError, IAMService>;
|
|
812
822
|
uploadServerCertificate: (args: UploadServerCertificateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UploadServerCertificateCommandOutput, ConcurrentModificationError | EntityAlreadyExistsError | InvalidInputError | KeyPairMismatchError | LimitExceededError | MalformedCertificateError | ServiceFailureError | SdkError, IAMService>;
|
|
813
823
|
uploadSigningCertificate: (args: UploadSigningCertificateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UploadSigningCertificateCommandOutput, ConcurrentModificationError | DuplicateCertificateError | EntityAlreadyExistsError | InvalidCertificateError | LimitExceededError | MalformedCertificateError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
814
|
-
uploadSSHPublicKey: (args: UploadSSHPublicKeyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UploadSSHPublicKeyCommandOutput, DuplicateSSHPublicKeyError | InvalidPublicKeyError | LimitExceededError | NoSuchEntityError | UnrecognizedPublicKeyEncodingError | SdkError, IAMService>;
|
|
815
824
|
} & {
|
|
816
825
|
use: <X>(body: (_: IAMService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, R | IAMService> : Effect.Effect<X, never, IAMService>;
|
|
817
826
|
};
|
|
@@ -820,25 +829,32 @@ declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@e
|
|
|
820
829
|
* @category models
|
|
821
830
|
*/
|
|
822
831
|
export declare class IAMService extends IAMService_base {
|
|
832
|
+
static readonly defaultLayer: Layer.Layer<IAMService, never, never>;
|
|
833
|
+
static readonly layer: (config: IAMClientConfig) => Layer.Layer<IAMService, never, never>;
|
|
834
|
+
static readonly baseLayer: (evaluate: (defaultConfig: IAMClientConfig) => IAMClient) => Layer.Layer<IAMService, never, never>;
|
|
823
835
|
}
|
|
824
836
|
/**
|
|
825
837
|
* @since 1.0.0
|
|
826
|
-
* @category
|
|
838
|
+
* @category models
|
|
839
|
+
* @alias IAMService
|
|
827
840
|
*/
|
|
828
|
-
export declare const
|
|
841
|
+
export declare const IAM: typeof IAMService;
|
|
829
842
|
/**
|
|
830
843
|
* @since 1.0.0
|
|
831
844
|
* @category layers
|
|
845
|
+
* @deprecated use IAM.baseLayer instead
|
|
832
846
|
*/
|
|
833
847
|
export declare const BaseIAMServiceLayer: Layer.Layer<IAMService, never, IAMClientInstance>;
|
|
834
848
|
/**
|
|
835
849
|
* @since 1.0.0
|
|
836
850
|
* @category layers
|
|
851
|
+
* @deprecated use IAM.layer instead
|
|
837
852
|
*/
|
|
838
|
-
export declare const IAMServiceLayer: Layer.Layer<IAMService, never,
|
|
853
|
+
export declare const IAMServiceLayer: Layer.Layer<IAMService, never, IAMClientInstanceConfig>;
|
|
839
854
|
/**
|
|
840
855
|
* @since 1.0.0
|
|
841
856
|
* @category layers
|
|
857
|
+
* @deprecated use IAM.defaultLayer instead
|
|
842
858
|
*/
|
|
843
859
|
export declare const DefaultIAMServiceLayer: Layer.Layer<IAMService, never, never>;
|
|
844
860
|
export {};
|