@effect-aws/client-iam 1.4.1 → 1.6.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 +13 -40
- package/lib/Errors.d.ts +6 -1
- package/lib/Errors.js +6 -1
- package/lib/IAMService.d.ts +44 -6
- package/lib/IAMService.js +29 -10
- package/lib/esm/Errors.js +6 -1
- package/lib/esm/IAMService.js +29 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @effect-aws/client-iam
|
|
2
2
|
|
|
3
|
+
## 1.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b24f980`](https://github.com/floydspace/effect-aws/commit/b24f98045ee3383c54d1152054e5b77f01d5f5e3) Thanks [@floydspace](https://github.com/floydspace)! - update services
|
|
8
|
+
|
|
9
|
+
## 1.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#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)
|
|
14
|
+
|
|
3
15
|
## 1.4.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -14,13 +14,13 @@ npm install --save @effect-aws/client-iam
|
|
|
14
14
|
With default IAMClient instance:
|
|
15
15
|
|
|
16
16
|
```typescript
|
|
17
|
-
import {
|
|
17
|
+
import { IAM } from "@effect-aws/client-iam";
|
|
18
18
|
|
|
19
|
-
const program =
|
|
19
|
+
const program = IAM.createRole(args);
|
|
20
20
|
|
|
21
21
|
const result = pipe(
|
|
22
22
|
program,
|
|
23
|
-
Effect.provide(
|
|
23
|
+
Effect.provide(IAM.defaultLayer),
|
|
24
24
|
Effect.runPromise,
|
|
25
25
|
);
|
|
26
26
|
```
|
|
@@ -28,23 +28,15 @@ const result = pipe(
|
|
|
28
28
|
With custom IAMClient instance:
|
|
29
29
|
|
|
30
30
|
```typescript
|
|
31
|
-
import {
|
|
32
|
-
IAMService,
|
|
33
|
-
BaseIAMServiceLayer,
|
|
34
|
-
IAMClientInstance,
|
|
35
|
-
} from "@effect-aws/client-iam";
|
|
31
|
+
import { IAM } from "@effect-aws/client-iam";
|
|
36
32
|
|
|
37
|
-
const program =
|
|
38
|
-
|
|
39
|
-
const IAMClientInstanceLayer = Layer.succeed(
|
|
40
|
-
IAMClientInstance,
|
|
41
|
-
new IAMClient({ region: "eu-central-1" }),
|
|
42
|
-
);
|
|
33
|
+
const program = IAM.createRole(args);
|
|
43
34
|
|
|
44
35
|
const result = await pipe(
|
|
45
36
|
program,
|
|
46
|
-
Effect.provide(
|
|
47
|
-
|
|
37
|
+
Effect.provide(
|
|
38
|
+
IAM.baseLayer(() => new IAMClient({ region: "eu-central-1" })),
|
|
39
|
+
),
|
|
48
40
|
Effect.runPromise,
|
|
49
41
|
);
|
|
50
42
|
```
|
|
@@ -52,34 +44,15 @@ const result = await pipe(
|
|
|
52
44
|
With custom IAMClient configuration:
|
|
53
45
|
|
|
54
46
|
```typescript
|
|
55
|
-
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
DefaultIAMClientConfigLayer,
|
|
59
|
-
IAMClientInstance,
|
|
60
|
-
IAMClientInstanceConfig,
|
|
61
|
-
} from "@effect-aws/client-iam";
|
|
62
|
-
|
|
63
|
-
const program = IAMService.createRole(args);
|
|
64
|
-
|
|
65
|
-
const IAMClientInstanceLayer = Layer.provide(
|
|
66
|
-
Layer.effect(
|
|
67
|
-
IAMClientInstance,
|
|
68
|
-
IAMClientInstanceConfig.pipe(
|
|
69
|
-
Effect.map(
|
|
70
|
-
(config) => new IAMClient({ ...config, region: "eu-central-1" }),
|
|
71
|
-
),
|
|
72
|
-
),
|
|
73
|
-
),
|
|
74
|
-
DefaultIAMClientConfigLayer,
|
|
75
|
-
);
|
|
47
|
+
import { IAM } from "@effect-aws/client-iam";
|
|
48
|
+
|
|
49
|
+
const program = IAM.createRole(args);
|
|
76
50
|
|
|
77
51
|
const result = await pipe(
|
|
78
52
|
program,
|
|
79
|
-
Effect.provide(
|
|
80
|
-
Effect.provide(IAMClientInstanceLayer),
|
|
53
|
+
Effect.provide(IAM.layer({ region: "eu-central-1" })),
|
|
81
54
|
Effect.runPromiseExit,
|
|
82
55
|
);
|
|
83
56
|
```
|
|
84
57
|
|
|
85
|
-
or
|
|
58
|
+
or use `IAM.baseLayer((default) => new IAMClient({ ...default, region: "eu-central-1" }))`
|
package/lib/Errors.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ConcurrentModificationException, CredentialReportExpiredException, CredentialReportNotPresentException, CredentialReportNotReadyException, DeleteConflictException, DuplicateCertificateException, DuplicateSSHPublicKeyException, EntityAlreadyExistsException, EntityTemporarilyUnmodifiableException, InvalidAuthenticationCodeException, InvalidCertificateException, InvalidInputException, InvalidPublicKeyException, InvalidUserTypeException, KeyPairMismatchException, LimitExceededException, MalformedCertificateException, MalformedPolicyDocumentException, NoSuchEntityException, OpenIdIdpCommunicationErrorException, PasswordPolicyViolationException, PolicyEvaluationException, PolicyNotAttachableException, ReportGenerationLimitExceededException, ServiceFailureException, ServiceNotSupportedException, UnmodifiableEntityException, UnrecognizedPublicKeyEncodingException } from "@aws-sdk/client-iam";
|
|
1
|
+
import type { AccountNotManagementOrDelegatedAdministratorException, CallerIsNotManagementAccountException, ConcurrentModificationException, CredentialReportExpiredException, CredentialReportNotPresentException, CredentialReportNotReadyException, DeleteConflictException, DuplicateCertificateException, DuplicateSSHPublicKeyException, EntityAlreadyExistsException, EntityTemporarilyUnmodifiableException, InvalidAuthenticationCodeException, InvalidCertificateException, InvalidInputException, InvalidPublicKeyException, InvalidUserTypeException, KeyPairMismatchException, LimitExceededException, MalformedCertificateException, MalformedPolicyDocumentException, NoSuchEntityException, OpenIdIdpCommunicationErrorException, OrganizationNotFoundException, OrganizationNotInAllFeaturesModeException, PasswordPolicyViolationException, PolicyEvaluationException, PolicyNotAttachableException, ReportGenerationLimitExceededException, ServiceAccessNotEnabledException, ServiceFailureException, ServiceNotSupportedException, UnmodifiableEntityException, UnrecognizedPublicKeyEncodingException } from "@aws-sdk/client-iam";
|
|
2
2
|
import { Data } from "effect";
|
|
3
3
|
export declare const AllServiceErrors: string[];
|
|
4
4
|
export type TaggedException<T extends {
|
|
@@ -6,6 +6,8 @@ export type TaggedException<T extends {
|
|
|
6
6
|
}> = T & {
|
|
7
7
|
readonly _tag: T["name"];
|
|
8
8
|
};
|
|
9
|
+
export type AccountNotManagementOrDelegatedAdministratorError = TaggedException<AccountNotManagementOrDelegatedAdministratorException>;
|
|
10
|
+
export type CallerIsNotManagementAccountError = TaggedException<CallerIsNotManagementAccountException>;
|
|
9
11
|
export type ConcurrentModificationError = TaggedException<ConcurrentModificationException>;
|
|
10
12
|
export type CredentialReportExpiredError = TaggedException<CredentialReportExpiredException>;
|
|
11
13
|
export type CredentialReportNotPresentError = TaggedException<CredentialReportNotPresentException>;
|
|
@@ -26,10 +28,13 @@ export type MalformedCertificateError = TaggedException<MalformedCertificateExce
|
|
|
26
28
|
export type MalformedPolicyDocumentError = TaggedException<MalformedPolicyDocumentException>;
|
|
27
29
|
export type NoSuchEntityError = TaggedException<NoSuchEntityException>;
|
|
28
30
|
export type OpenIdIdpCommunicationError = TaggedException<OpenIdIdpCommunicationErrorException>;
|
|
31
|
+
export type OrganizationNotFoundError = TaggedException<OrganizationNotFoundException>;
|
|
32
|
+
export type OrganizationNotInAllFeaturesModeError = TaggedException<OrganizationNotInAllFeaturesModeException>;
|
|
29
33
|
export type PasswordPolicyViolationError = TaggedException<PasswordPolicyViolationException>;
|
|
30
34
|
export type PolicyEvaluationError = TaggedException<PolicyEvaluationException>;
|
|
31
35
|
export type PolicyNotAttachableError = TaggedException<PolicyNotAttachableException>;
|
|
32
36
|
export type ReportGenerationLimitExceededError = TaggedException<ReportGenerationLimitExceededException>;
|
|
37
|
+
export type ServiceAccessNotEnabledError = TaggedException<ServiceAccessNotEnabledException>;
|
|
33
38
|
export type ServiceFailureError = TaggedException<ServiceFailureException>;
|
|
34
39
|
export type ServiceNotSupportedError = TaggedException<ServiceNotSupportedException>;
|
|
35
40
|
export type UnmodifiableEntityError = TaggedException<UnmodifiableEntityException>;
|
package/lib/Errors.js
CHANGED
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SdkError = exports.AllServiceErrors = void 0;
|
|
4
4
|
const effect_1 = require("effect");
|
|
5
5
|
exports.AllServiceErrors = [
|
|
6
|
+
"AccountNotManagementOrDelegatedAdministratorException",
|
|
7
|
+
"CallerIsNotManagementAccountException",
|
|
6
8
|
"ConcurrentModificationException",
|
|
7
9
|
"CredentialReportExpiredException",
|
|
8
10
|
"CredentialReportNotPresentException",
|
|
@@ -23,14 +25,17 @@ exports.AllServiceErrors = [
|
|
|
23
25
|
"MalformedPolicyDocumentException",
|
|
24
26
|
"NoSuchEntityException",
|
|
25
27
|
"OpenIdIdpCommunicationErrorException",
|
|
28
|
+
"OrganizationNotFoundException",
|
|
29
|
+
"OrganizationNotInAllFeaturesModeException",
|
|
26
30
|
"PasswordPolicyViolationException",
|
|
27
31
|
"PolicyEvaluationException",
|
|
28
32
|
"PolicyNotAttachableException",
|
|
29
33
|
"ReportGenerationLimitExceededException",
|
|
34
|
+
"ServiceAccessNotEnabledException",
|
|
30
35
|
"ServiceFailureException",
|
|
31
36
|
"ServiceNotSupportedException",
|
|
32
37
|
"UnmodifiableEntityException",
|
|
33
38
|
"UnrecognizedPublicKeyEncodingException",
|
|
34
39
|
];
|
|
35
40
|
exports.SdkError = effect_1.Data.tagged("SdkError");
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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2duaXplZFB1YmxpY0tleUVuY29kaW5nRXJyb3IgPVxuICBUYWdnZWRFeGNlcHRpb248VW5yZWNvZ25pemVkUHVibGljS2V5RW5jb2RpbmdFeGNlcHRpb24+O1xuXG5leHBvcnQgdHlwZSBTZGtFcnJvciA9IFRhZ2dlZEV4Y2VwdGlvbjxFcnJvciAmIHsgbmFtZTogXCJTZGtFcnJvclwiIH0+O1xuZXhwb3J0IGNvbnN0IFNka0Vycm9yID0gRGF0YS50YWdnZWQ8U2RrRXJyb3I+KFwiU2RrRXJyb3JcIik7XG4iXX0=
|
package/lib/IAMService.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
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 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";
|
|
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 DisableOrganizationsRootCredentialsManagementCommandInput, type DisableOrganizationsRootCredentialsManagementCommandOutput, type DisableOrganizationsRootSessionsCommandInput, type DisableOrganizationsRootSessionsCommandOutput, type EnableMFADeviceCommandInput, type EnableMFADeviceCommandOutput, type EnableOrganizationsRootCredentialsManagementCommandInput, type EnableOrganizationsRootCredentialsManagementCommandOutput, type EnableOrganizationsRootSessionsCommandInput, type EnableOrganizationsRootSessionsCommandOutput, 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 ListOrganizationsFeaturesCommandInput, type ListOrganizationsFeaturesCommandOutput, 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
|
-
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";
|
|
6
|
+
import { AccountNotManagementOrDelegatedAdministratorError, CallerIsNotManagementAccountError, ConcurrentModificationError, CredentialReportExpiredError, CredentialReportNotPresentError, CredentialReportNotReadyError, DeleteConflictError, DuplicateCertificateError, DuplicateSSHPublicKeyError, EntityAlreadyExistsError, EntityTemporarilyUnmodifiableError, InvalidAuthenticationCodeError, InvalidCertificateError, InvalidInputError, InvalidPublicKeyError, InvalidUserTypeError, KeyPairMismatchError, LimitExceededError, MalformedCertificateError, MalformedPolicyDocumentError, NoSuchEntityError, OpenIdIdpCommunicationError, OrganizationNotFoundError, OrganizationNotInAllFeaturesModeError, PasswordPolicyViolationError, PolicyEvaluationError, PolicyNotAttachableError, ReportGenerationLimitExceededError, ServiceAccessNotEnabledError, ServiceFailureError, ServiceNotSupportedError, UnmodifiableEntityError, UnrecognizedPublicKeyEncodingError, SdkError } from "./Errors";
|
|
7
7
|
import { IAMClientInstance } from "./IAMClientInstance";
|
|
8
|
+
import { IAMClientInstanceConfig } from "./IAMClientInstanceConfig";
|
|
8
9
|
/**
|
|
9
|
-
* @since 1.
|
|
10
|
+
* @since 1.0.0
|
|
10
11
|
*/
|
|
11
12
|
export interface HttpHandlerOptions {
|
|
12
13
|
/**
|
|
@@ -209,10 +210,26 @@ interface IAMService$ {
|
|
|
209
210
|
* @see {@link DetachUserPolicyCommand}
|
|
210
211
|
*/
|
|
211
212
|
detachUserPolicy(args: DetachUserPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DetachUserPolicyCommandOutput, SdkError | InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError>;
|
|
213
|
+
/**
|
|
214
|
+
* @see {@link DisableOrganizationsRootCredentialsManagementCommand}
|
|
215
|
+
*/
|
|
216
|
+
disableOrganizationsRootCredentialsManagement(args: DisableOrganizationsRootCredentialsManagementCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisableOrganizationsRootCredentialsManagementCommandOutput, SdkError | AccountNotManagementOrDelegatedAdministratorError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError>;
|
|
217
|
+
/**
|
|
218
|
+
* @see {@link DisableOrganizationsRootSessionsCommand}
|
|
219
|
+
*/
|
|
220
|
+
disableOrganizationsRootSessions(args: DisableOrganizationsRootSessionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisableOrganizationsRootSessionsCommandOutput, SdkError | AccountNotManagementOrDelegatedAdministratorError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError>;
|
|
212
221
|
/**
|
|
213
222
|
* @see {@link EnableMFADeviceCommand}
|
|
214
223
|
*/
|
|
215
224
|
enableMFADevice(args: EnableMFADeviceCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableMFADeviceCommandOutput, SdkError | ConcurrentModificationError | EntityAlreadyExistsError | EntityTemporarilyUnmodifiableError | InvalidAuthenticationCodeError | LimitExceededError | NoSuchEntityError | ServiceFailureError>;
|
|
225
|
+
/**
|
|
226
|
+
* @see {@link EnableOrganizationsRootCredentialsManagementCommand}
|
|
227
|
+
*/
|
|
228
|
+
enableOrganizationsRootCredentialsManagement(args: EnableOrganizationsRootCredentialsManagementCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableOrganizationsRootCredentialsManagementCommandOutput, SdkError | AccountNotManagementOrDelegatedAdministratorError | CallerIsNotManagementAccountError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError>;
|
|
229
|
+
/**
|
|
230
|
+
* @see {@link EnableOrganizationsRootSessionsCommand}
|
|
231
|
+
*/
|
|
232
|
+
enableOrganizationsRootSessions(args: EnableOrganizationsRootSessionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableOrganizationsRootSessionsCommandOutput, SdkError | AccountNotManagementOrDelegatedAdministratorError | CallerIsNotManagementAccountError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError>;
|
|
216
233
|
/**
|
|
217
234
|
* @see {@link GenerateCredentialReportCommand}
|
|
218
235
|
*/
|
|
@@ -393,6 +410,10 @@ interface IAMService$ {
|
|
|
393
410
|
* @see {@link ListOpenIDConnectProvidersCommand}
|
|
394
411
|
*/
|
|
395
412
|
listOpenIDConnectProviders(args: ListOpenIDConnectProvidersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListOpenIDConnectProvidersCommandOutput, SdkError | ServiceFailureError>;
|
|
413
|
+
/**
|
|
414
|
+
* @see {@link ListOrganizationsFeaturesCommand}
|
|
415
|
+
*/
|
|
416
|
+
listOrganizationsFeatures(args: ListOrganizationsFeaturesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListOrganizationsFeaturesCommandOutput, SdkError | AccountNotManagementOrDelegatedAdministratorError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError>;
|
|
396
417
|
/**
|
|
397
418
|
* @see {@link ListPoliciesCommand}
|
|
398
419
|
*/
|
|
@@ -654,6 +675,11 @@ interface IAMService$ {
|
|
|
654
675
|
*/
|
|
655
676
|
uploadSigningCertificate(args: UploadSigningCertificateCommandInput, options?: HttpHandlerOptions): Effect.Effect<UploadSigningCertificateCommandOutput, SdkError | ConcurrentModificationError | DuplicateCertificateError | EntityAlreadyExistsError | InvalidCertificateError | LimitExceededError | MalformedCertificateError | NoSuchEntityError | ServiceFailureError>;
|
|
656
677
|
}
|
|
678
|
+
/**
|
|
679
|
+
* @since 1.0.0
|
|
680
|
+
* @category constructors
|
|
681
|
+
*/
|
|
682
|
+
export declare const makeIAMService: Effect.Effect<IAMService$, never, IAMClientInstance>;
|
|
657
683
|
declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@effect-aws/client-iam/IAMService", IAMService$> & {
|
|
658
684
|
readonly _: Effect.Effect<IAMService$["_"], never, IAMService>;
|
|
659
685
|
addClientIDToOpenIDConnectProvider: (args: AddClientIDToOpenIDConnectProviderCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AddClientIDToOpenIDConnectProviderCommandOutput, InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
@@ -704,7 +730,11 @@ declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@e
|
|
|
704
730
|
detachGroupPolicy: (args: DetachGroupPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DetachGroupPolicyCommandOutput, InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
705
731
|
detachRolePolicy: (args: DetachRolePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DetachRolePolicyCommandOutput, InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError | UnmodifiableEntityError | SdkError, IAMService>;
|
|
706
732
|
detachUserPolicy: (args: DetachUserPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DetachUserPolicyCommandOutput, InvalidInputError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
733
|
+
disableOrganizationsRootCredentialsManagement: (args: DisableOrganizationsRootCredentialsManagementCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisableOrganizationsRootCredentialsManagementCommandOutput, AccountNotManagementOrDelegatedAdministratorError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError | SdkError, IAMService>;
|
|
734
|
+
disableOrganizationsRootSessions: (args: DisableOrganizationsRootSessionsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisableOrganizationsRootSessionsCommandOutput, AccountNotManagementOrDelegatedAdministratorError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError | SdkError, IAMService>;
|
|
707
735
|
enableMFADevice: (args: EnableMFADeviceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableMFADeviceCommandOutput, ConcurrentModificationError | EntityAlreadyExistsError | EntityTemporarilyUnmodifiableError | InvalidAuthenticationCodeError | LimitExceededError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
736
|
+
enableOrganizationsRootCredentialsManagement: (args: EnableOrganizationsRootCredentialsManagementCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableOrganizationsRootCredentialsManagementCommandOutput, AccountNotManagementOrDelegatedAdministratorError | CallerIsNotManagementAccountError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError | SdkError, IAMService>;
|
|
737
|
+
enableOrganizationsRootSessions: (args: EnableOrganizationsRootSessionsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableOrganizationsRootSessionsCommandOutput, AccountNotManagementOrDelegatedAdministratorError | CallerIsNotManagementAccountError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError | SdkError, IAMService>;
|
|
708
738
|
generateCredentialReport: (args: GenerateCredentialReportCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateCredentialReportCommandOutput, LimitExceededError | ServiceFailureError | SdkError, IAMService>;
|
|
709
739
|
generateOrganizationsAccessReport: (args: GenerateOrganizationsAccessReportCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateOrganizationsAccessReportCommandOutput, ReportGenerationLimitExceededError | SdkError, IAMService>;
|
|
710
740
|
generateServiceLastAccessedDetails: (args: GenerateServiceLastAccessedDetailsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GenerateServiceLastAccessedDetailsCommandOutput, InvalidInputError | NoSuchEntityError | SdkError, IAMService>;
|
|
@@ -750,6 +780,7 @@ declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@e
|
|
|
750
780
|
listMFADevices: (args: ListMFADevicesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListMFADevicesCommandOutput, NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
751
781
|
listOpenIDConnectProviderTags: (args: ListOpenIDConnectProviderTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListOpenIDConnectProviderTagsCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
752
782
|
listOpenIDConnectProviders: (args: ListOpenIDConnectProvidersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListOpenIDConnectProvidersCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
783
|
+
listOrganizationsFeatures: (args: ListOrganizationsFeaturesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListOrganizationsFeaturesCommandOutput, AccountNotManagementOrDelegatedAdministratorError | OrganizationNotFoundError | OrganizationNotInAllFeaturesModeError | ServiceAccessNotEnabledError | SdkError, IAMService>;
|
|
753
784
|
listPolicies: (args: ListPoliciesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPoliciesCommandOutput, ServiceFailureError | SdkError, IAMService>;
|
|
754
785
|
listPoliciesGrantingServiceAccess: (args: ListPoliciesGrantingServiceAccessCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPoliciesGrantingServiceAccessCommandOutput, InvalidInputError | NoSuchEntityError | SdkError, IAMService>;
|
|
755
786
|
listPolicyTags: (args: ListPolicyTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListPolicyTagsCommandOutput, InvalidInputError | NoSuchEntityError | ServiceFailureError | SdkError, IAMService>;
|
|
@@ -823,25 +854,32 @@ declare const IAMService_base: import("effect/Context").TagClass<IAMService, "@e
|
|
|
823
854
|
* @category models
|
|
824
855
|
*/
|
|
825
856
|
export declare class IAMService extends IAMService_base {
|
|
857
|
+
static readonly defaultLayer: Layer.Layer<IAMService, never, never>;
|
|
858
|
+
static readonly layer: (config: IAMClientConfig) => Layer.Layer<IAMService, never, never>;
|
|
859
|
+
static readonly baseLayer: (evaluate: (defaultConfig: IAMClientConfig) => IAMClient) => Layer.Layer<IAMService, never, never>;
|
|
826
860
|
}
|
|
827
861
|
/**
|
|
828
862
|
* @since 1.0.0
|
|
829
|
-
* @category
|
|
863
|
+
* @category models
|
|
864
|
+
* @alias IAMService
|
|
830
865
|
*/
|
|
831
|
-
export declare const
|
|
866
|
+
export declare const IAM: typeof IAMService;
|
|
832
867
|
/**
|
|
833
868
|
* @since 1.0.0
|
|
834
869
|
* @category layers
|
|
870
|
+
* @deprecated use IAM.baseLayer instead
|
|
835
871
|
*/
|
|
836
872
|
export declare const BaseIAMServiceLayer: Layer.Layer<IAMService, never, IAMClientInstance>;
|
|
837
873
|
/**
|
|
838
874
|
* @since 1.0.0
|
|
839
875
|
* @category layers
|
|
876
|
+
* @deprecated use IAM.layer instead
|
|
840
877
|
*/
|
|
841
|
-
export declare const IAMServiceLayer: Layer.Layer<IAMService, never,
|
|
878
|
+
export declare const IAMServiceLayer: Layer.Layer<IAMService, never, IAMClientInstanceConfig>;
|
|
842
879
|
/**
|
|
843
880
|
* @since 1.0.0
|
|
844
881
|
* @category layers
|
|
882
|
+
* @deprecated use IAM.defaultLayer instead
|
|
845
883
|
*/
|
|
846
884
|
export declare const DefaultIAMServiceLayer: Layer.Layer<IAMService, never, never>;
|
|
847
885
|
export {};
|