@aws-sdk/client-auditmanager 3.35.0 → 3.36.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 +13 -0
- package/dist-cjs/AuditManager.js +0 -1
- package/dist-cjs/AuditManagerClient.js +0 -1
- package/dist-cjs/commands/AssociateAssessmentReportEvidenceFolderCommand.js +0 -1
- package/dist-cjs/commands/BatchAssociateAssessmentReportEvidenceCommand.js +0 -1
- package/dist-cjs/commands/BatchCreateDelegationByAssessmentCommand.js +0 -1
- package/dist-cjs/commands/BatchDeleteDelegationByAssessmentCommand.js +0 -1
- package/dist-cjs/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +0 -1
- package/dist-cjs/commands/BatchImportEvidenceToAssessmentControlCommand.js +0 -1
- package/dist-cjs/commands/CreateAssessmentCommand.js +0 -1
- package/dist-cjs/commands/CreateAssessmentFrameworkCommand.js +0 -1
- package/dist-cjs/commands/CreateAssessmentReportCommand.js +0 -1
- package/dist-cjs/commands/CreateControlCommand.js +0 -1
- package/dist-cjs/commands/DeleteAssessmentCommand.js +0 -1
- package/dist-cjs/commands/DeleteAssessmentFrameworkCommand.js +0 -1
- package/dist-cjs/commands/DeleteAssessmentReportCommand.js +0 -1
- package/dist-cjs/commands/DeleteControlCommand.js +0 -1
- package/dist-cjs/commands/DeregisterAccountCommand.js +0 -1
- package/dist-cjs/commands/DeregisterOrganizationAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +0 -1
- package/dist-cjs/commands/GetAccountStatusCommand.js +0 -1
- package/dist-cjs/commands/GetAssessmentCommand.js +0 -1
- package/dist-cjs/commands/GetAssessmentFrameworkCommand.js +0 -1
- package/dist-cjs/commands/GetAssessmentReportUrlCommand.js +0 -1
- package/dist-cjs/commands/GetChangeLogsCommand.js +0 -1
- package/dist-cjs/commands/GetControlCommand.js +0 -1
- package/dist-cjs/commands/GetDelegationsCommand.js +0 -1
- package/dist-cjs/commands/GetEvidenceByEvidenceFolderCommand.js +0 -1
- package/dist-cjs/commands/GetEvidenceCommand.js +0 -1
- package/dist-cjs/commands/GetEvidenceFolderCommand.js +0 -1
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentCommand.js +0 -1
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentControlCommand.js +0 -1
- package/dist-cjs/commands/GetOrganizationAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/GetServicesInScopeCommand.js +0 -1
- package/dist-cjs/commands/GetSettingsCommand.js +0 -1
- package/dist-cjs/commands/ListAssessmentFrameworksCommand.js +0 -1
- package/dist-cjs/commands/ListAssessmentReportsCommand.js +0 -1
- package/dist-cjs/commands/ListAssessmentsCommand.js +0 -1
- package/dist-cjs/commands/ListControlsCommand.js +0 -1
- package/dist-cjs/commands/ListKeywordsForDataSourceCommand.js +0 -1
- package/dist-cjs/commands/ListNotificationsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/RegisterAccountCommand.js +0 -1
- package/dist-cjs/commands/RegisterOrganizationAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssessmentCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssessmentControlCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssessmentControlSetStatusCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssessmentFrameworkCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssessmentStatusCommand.js +0 -1
- package/dist-cjs/commands/UpdateControlCommand.js +0 -1
- package/dist-cjs/commands/UpdateSettingsCommand.js +0 -1
- package/dist-cjs/commands/ValidateAssessmentReportIntegrityCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetChangeLogsPaginator.js +0 -1
- package/dist-cjs/pagination/GetDelegationsPaginator.js +0 -1
- package/dist-cjs/pagination/GetEvidenceByEvidenceFolderPaginator.js +0 -1
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +0 -1
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAssessmentFrameworksPaginator.js +0 -1
- package/dist-cjs/pagination/ListAssessmentReportsPaginator.js +0 -1
- package/dist-cjs/pagination/ListAssessmentsPaginator.js +0 -1
- package/dist-cjs/pagination/ListControlsPaginator.js +0 -1
- package/dist-cjs/pagination/ListKeywordsForDataSourcePaginator.js +0 -1
- package/dist-cjs/pagination/ListNotificationsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/AuditManager.js +0 -1
- package/dist-es/AuditManagerClient.js +0 -1
- package/dist-es/commands/AssociateAssessmentReportEvidenceFolderCommand.js +0 -1
- package/dist-es/commands/BatchAssociateAssessmentReportEvidenceCommand.js +0 -1
- package/dist-es/commands/BatchCreateDelegationByAssessmentCommand.js +0 -1
- package/dist-es/commands/BatchDeleteDelegationByAssessmentCommand.js +0 -1
- package/dist-es/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +0 -1
- package/dist-es/commands/BatchImportEvidenceToAssessmentControlCommand.js +0 -1
- package/dist-es/commands/CreateAssessmentCommand.js +0 -1
- package/dist-es/commands/CreateAssessmentFrameworkCommand.js +0 -1
- package/dist-es/commands/CreateAssessmentReportCommand.js +0 -1
- package/dist-es/commands/CreateControlCommand.js +0 -1
- package/dist-es/commands/DeleteAssessmentCommand.js +0 -1
- package/dist-es/commands/DeleteAssessmentFrameworkCommand.js +0 -1
- package/dist-es/commands/DeleteAssessmentReportCommand.js +0 -1
- package/dist-es/commands/DeleteControlCommand.js +0 -1
- package/dist-es/commands/DeregisterAccountCommand.js +0 -1
- package/dist-es/commands/DeregisterOrganizationAdminAccountCommand.js +0 -1
- package/dist-es/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +0 -1
- package/dist-es/commands/GetAccountStatusCommand.js +0 -1
- package/dist-es/commands/GetAssessmentCommand.js +0 -1
- package/dist-es/commands/GetAssessmentFrameworkCommand.js +0 -1
- package/dist-es/commands/GetAssessmentReportUrlCommand.js +0 -1
- package/dist-es/commands/GetChangeLogsCommand.js +0 -1
- package/dist-es/commands/GetControlCommand.js +0 -1
- package/dist-es/commands/GetDelegationsCommand.js +0 -1
- package/dist-es/commands/GetEvidenceByEvidenceFolderCommand.js +0 -1
- package/dist-es/commands/GetEvidenceCommand.js +0 -1
- package/dist-es/commands/GetEvidenceFolderCommand.js +0 -1
- package/dist-es/commands/GetEvidenceFoldersByAssessmentCommand.js +0 -1
- package/dist-es/commands/GetEvidenceFoldersByAssessmentControlCommand.js +0 -1
- package/dist-es/commands/GetOrganizationAdminAccountCommand.js +0 -1
- package/dist-es/commands/GetServicesInScopeCommand.js +0 -1
- package/dist-es/commands/GetSettingsCommand.js +0 -1
- package/dist-es/commands/ListAssessmentFrameworksCommand.js +0 -1
- package/dist-es/commands/ListAssessmentReportsCommand.js +0 -1
- package/dist-es/commands/ListAssessmentsCommand.js +0 -1
- package/dist-es/commands/ListControlsCommand.js +0 -1
- package/dist-es/commands/ListKeywordsForDataSourceCommand.js +0 -1
- package/dist-es/commands/ListNotificationsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/RegisterAccountCommand.js +0 -1
- package/dist-es/commands/RegisterOrganizationAdminAccountCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAssessmentCommand.js +0 -1
- package/dist-es/commands/UpdateAssessmentControlCommand.js +0 -1
- package/dist-es/commands/UpdateAssessmentControlSetStatusCommand.js +0 -1
- package/dist-es/commands/UpdateAssessmentFrameworkCommand.js +0 -1
- package/dist-es/commands/UpdateAssessmentStatusCommand.js +0 -1
- package/dist-es/commands/UpdateControlCommand.js +0 -1
- package/dist-es/commands/UpdateSettingsCommand.js +0 -1
- package/dist-es/commands/ValidateAssessmentReportIntegrityCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetChangeLogsPaginator.js +0 -1
- package/dist-es/pagination/GetDelegationsPaginator.js +0 -1
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +0 -1
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +0 -1
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +0 -1
- package/dist-es/pagination/ListAssessmentReportsPaginator.js +0 -1
- package/dist-es/pagination/ListAssessmentsPaginator.js +0 -1
- package/dist-es/pagination/ListControlsPaginator.js +0 -1
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +0 -1
- package/dist-es/pagination/ListNotificationsPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/AuditManager.js.map +0 -1
- package/dist-cjs/AuditManagerClient.js.map +0 -1
- package/dist-cjs/commands/AssociateAssessmentReportEvidenceFolderCommand.js.map +0 -1
- package/dist-cjs/commands/BatchAssociateAssessmentReportEvidenceCommand.js.map +0 -1
- package/dist-cjs/commands/BatchCreateDelegationByAssessmentCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDeleteDelegationByAssessmentCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDisassociateAssessmentReportEvidenceCommand.js.map +0 -1
- package/dist-cjs/commands/BatchImportEvidenceToAssessmentControlCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAssessmentCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAssessmentFrameworkCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAssessmentReportCommand.js.map +0 -1
- package/dist-cjs/commands/CreateControlCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAssessmentCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAssessmentFrameworkCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAssessmentReportCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteControlCommand.js.map +0 -1
- package/dist-cjs/commands/DeregisterAccountCommand.js.map +0 -1
- package/dist-cjs/commands/DeregisterOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateAssessmentReportEvidenceFolderCommand.js.map +0 -1
- package/dist-cjs/commands/GetAccountStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetAssessmentCommand.js.map +0 -1
- package/dist-cjs/commands/GetAssessmentFrameworkCommand.js.map +0 -1
- package/dist-cjs/commands/GetAssessmentReportUrlCommand.js.map +0 -1
- package/dist-cjs/commands/GetChangeLogsCommand.js.map +0 -1
- package/dist-cjs/commands/GetControlCommand.js.map +0 -1
- package/dist-cjs/commands/GetDelegationsCommand.js.map +0 -1
- package/dist-cjs/commands/GetEvidenceByEvidenceFolderCommand.js.map +0 -1
- package/dist-cjs/commands/GetEvidenceCommand.js.map +0 -1
- package/dist-cjs/commands/GetEvidenceFolderCommand.js.map +0 -1
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentCommand.js.map +0 -1
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentControlCommand.js.map +0 -1
- package/dist-cjs/commands/GetOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/GetServicesInScopeCommand.js.map +0 -1
- package/dist-cjs/commands/GetSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssessmentFrameworksCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssessmentReportsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssessmentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListControlsCommand.js.map +0 -1
- package/dist-cjs/commands/ListKeywordsForDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListNotificationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterAccountCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAssessmentCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAssessmentControlCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAssessmentControlSetStatusCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAssessmentFrameworkCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAssessmentStatusCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateControlCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/ValidateAssessmentReportIntegrityCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetChangeLogsPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetDelegationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetEvidenceByEvidenceFolderPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetEvidenceFoldersByAssessmentPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAssessmentFrameworksPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListAssessmentReportsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListAssessmentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListControlsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListKeywordsForDataSourcePaginator.js.map +0 -1
- package/dist-cjs/pagination/ListNotificationsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/AuditManager.js.map +0 -1
- package/dist-es/AuditManagerClient.js.map +0 -1
- package/dist-es/commands/AssociateAssessmentReportEvidenceFolderCommand.js.map +0 -1
- package/dist-es/commands/BatchAssociateAssessmentReportEvidenceCommand.js.map +0 -1
- package/dist-es/commands/BatchCreateDelegationByAssessmentCommand.js.map +0 -1
- package/dist-es/commands/BatchDeleteDelegationByAssessmentCommand.js.map +0 -1
- package/dist-es/commands/BatchDisassociateAssessmentReportEvidenceCommand.js.map +0 -1
- package/dist-es/commands/BatchImportEvidenceToAssessmentControlCommand.js.map +0 -1
- package/dist-es/commands/CreateAssessmentCommand.js.map +0 -1
- package/dist-es/commands/CreateAssessmentFrameworkCommand.js.map +0 -1
- package/dist-es/commands/CreateAssessmentReportCommand.js.map +0 -1
- package/dist-es/commands/CreateControlCommand.js.map +0 -1
- package/dist-es/commands/DeleteAssessmentCommand.js.map +0 -1
- package/dist-es/commands/DeleteAssessmentFrameworkCommand.js.map +0 -1
- package/dist-es/commands/DeleteAssessmentReportCommand.js.map +0 -1
- package/dist-es/commands/DeleteControlCommand.js.map +0 -1
- package/dist-es/commands/DeregisterAccountCommand.js.map +0 -1
- package/dist-es/commands/DeregisterOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/DisassociateAssessmentReportEvidenceFolderCommand.js.map +0 -1
- package/dist-es/commands/GetAccountStatusCommand.js.map +0 -1
- package/dist-es/commands/GetAssessmentCommand.js.map +0 -1
- package/dist-es/commands/GetAssessmentFrameworkCommand.js.map +0 -1
- package/dist-es/commands/GetAssessmentReportUrlCommand.js.map +0 -1
- package/dist-es/commands/GetChangeLogsCommand.js.map +0 -1
- package/dist-es/commands/GetControlCommand.js.map +0 -1
- package/dist-es/commands/GetDelegationsCommand.js.map +0 -1
- package/dist-es/commands/GetEvidenceByEvidenceFolderCommand.js.map +0 -1
- package/dist-es/commands/GetEvidenceCommand.js.map +0 -1
- package/dist-es/commands/GetEvidenceFolderCommand.js.map +0 -1
- package/dist-es/commands/GetEvidenceFoldersByAssessmentCommand.js.map +0 -1
- package/dist-es/commands/GetEvidenceFoldersByAssessmentControlCommand.js.map +0 -1
- package/dist-es/commands/GetOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/GetServicesInScopeCommand.js.map +0 -1
- package/dist-es/commands/GetSettingsCommand.js.map +0 -1
- package/dist-es/commands/ListAssessmentFrameworksCommand.js.map +0 -1
- package/dist-es/commands/ListAssessmentReportsCommand.js.map +0 -1
- package/dist-es/commands/ListAssessmentsCommand.js.map +0 -1
- package/dist-es/commands/ListControlsCommand.js.map +0 -1
- package/dist-es/commands/ListKeywordsForDataSourceCommand.js.map +0 -1
- package/dist-es/commands/ListNotificationsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/RegisterAccountCommand.js.map +0 -1
- package/dist-es/commands/RegisterOrganizationAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateAssessmentCommand.js.map +0 -1
- package/dist-es/commands/UpdateAssessmentControlCommand.js.map +0 -1
- package/dist-es/commands/UpdateAssessmentControlSetStatusCommand.js.map +0 -1
- package/dist-es/commands/UpdateAssessmentFrameworkCommand.js.map +0 -1
- package/dist-es/commands/UpdateAssessmentStatusCommand.js.map +0 -1
- package/dist-es/commands/UpdateControlCommand.js.map +0 -1
- package/dist-es/commands/UpdateSettingsCommand.js.map +0 -1
- package/dist-es/commands/ValidateAssessmentReportIntegrityCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetChangeLogsPaginator.js.map +0 -1
- package/dist-es/pagination/GetDelegationsPaginator.js.map +0 -1
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js.map +0 -1
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js.map +0 -1
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js.map +0 -1
- package/dist-es/pagination/ListAssessmentReportsPaginator.js.map +0 -1
- package/dist-es/pagination/ListAssessmentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListControlsPaginator.js.map +0 -1
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js.map +0 -1
- package/dist-es/pagination/ListNotificationsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/AuditManager.ts +0 -2001
- package/src/AuditManagerClient.ts +0 -503
- package/src/commands/AssociateAssessmentReportEvidenceFolderCommand.ts +0 -112
- package/src/commands/BatchAssociateAssessmentReportEvidenceCommand.ts +0 -109
- package/src/commands/BatchCreateDelegationByAssessmentCommand.ts +0 -108
- package/src/commands/BatchDeleteDelegationByAssessmentCommand.ts +0 -108
- package/src/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts +0 -112
- package/src/commands/BatchImportEvidenceToAssessmentControlCommand.ts +0 -109
- package/src/commands/CreateAssessmentCommand.ts +0 -97
- package/src/commands/CreateAssessmentFrameworkCommand.ts +0 -100
- package/src/commands/CreateAssessmentReportCommand.ts +0 -97
- package/src/commands/CreateControlCommand.ts +0 -97
- package/src/commands/DeleteAssessmentCommand.ts +0 -97
- package/src/commands/DeleteAssessmentFrameworkCommand.ts +0 -100
- package/src/commands/DeleteAssessmentReportCommand.ts +0 -97
- package/src/commands/DeleteControlCommand.ts +0 -97
- package/src/commands/DeregisterAccountCommand.ts +0 -97
- package/src/commands/DeregisterOrganizationAdminAccountCommand.ts +0 -113
- package/src/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts +0 -112
- package/src/commands/GetAccountStatusCommand.ts +0 -97
- package/src/commands/GetAssessmentCommand.ts +0 -97
- package/src/commands/GetAssessmentFrameworkCommand.ts +0 -97
- package/src/commands/GetAssessmentReportUrlCommand.ts +0 -97
- package/src/commands/GetChangeLogsCommand.ts +0 -97
- package/src/commands/GetControlCommand.ts +0 -97
- package/src/commands/GetDelegationsCommand.ts +0 -97
- package/src/commands/GetEvidenceByEvidenceFolderCommand.ts +0 -102
- package/src/commands/GetEvidenceCommand.ts +0 -97
- package/src/commands/GetEvidenceFolderCommand.ts +0 -97
- package/src/commands/GetEvidenceFoldersByAssessmentCommand.ts +0 -105
- package/src/commands/GetEvidenceFoldersByAssessmentControlCommand.ts +0 -109
- package/src/commands/GetOrganizationAdminAccountCommand.ts +0 -102
- package/src/commands/GetServicesInScopeCommand.ts +0 -97
- package/src/commands/GetSettingsCommand.ts +0 -97
- package/src/commands/ListAssessmentFrameworksCommand.ts +0 -97
- package/src/commands/ListAssessmentReportsCommand.ts +0 -97
- package/src/commands/ListAssessmentsCommand.ts +0 -97
- package/src/commands/ListControlsCommand.ts +0 -97
- package/src/commands/ListKeywordsForDataSourceCommand.ts +0 -100
- package/src/commands/ListNotificationsCommand.ts +0 -97
- package/src/commands/ListTagsForResourceCommand.ts +0 -97
- package/src/commands/RegisterAccountCommand.ts +0 -97
- package/src/commands/RegisterOrganizationAdminAccountCommand.ts +0 -105
- package/src/commands/TagResourceCommand.ts +0 -97
- package/src/commands/UntagResourceCommand.ts +0 -97
- package/src/commands/UpdateAssessmentCommand.ts +0 -97
- package/src/commands/UpdateAssessmentControlCommand.ts +0 -97
- package/src/commands/UpdateAssessmentControlSetStatusCommand.ts +0 -105
- package/src/commands/UpdateAssessmentFrameworkCommand.ts +0 -100
- package/src/commands/UpdateAssessmentStatusCommand.ts +0 -97
- package/src/commands/UpdateControlCommand.ts +0 -97
- package/src/commands/UpdateSettingsCommand.ts +0 -97
- package/src/commands/ValidateAssessmentReportIntegrityCommand.ts +0 -108
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -66
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5175
- package/src/pagination/GetChangeLogsPaginator.ts +0 -59
- package/src/pagination/GetDelegationsPaginator.ts +0 -59
- package/src/pagination/GetEvidenceByEvidenceFolderPaginator.ts +0 -59
- package/src/pagination/GetEvidenceFoldersByAssessmentControlPaginator.ts +0 -59
- package/src/pagination/GetEvidenceFoldersByAssessmentPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAssessmentFrameworksPaginator.ts +0 -59
- package/src/pagination/ListAssessmentReportsPaginator.ts +0 -59
- package/src/pagination/ListAssessmentsPaginator.ts +0 -59
- package/src/pagination/ListControlsPaginator.ts +0 -59
- package/src/pagination/ListKeywordsForDataSourcePaginator.ts +0 -59
- package/src/pagination/ListNotificationsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -7355
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
GetChangeLogsCommand,
|
|
7
|
-
GetChangeLogsCommandInput,
|
|
8
|
-
GetChangeLogsCommandOutput,
|
|
9
|
-
} from "../commands/GetChangeLogsCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: GetChangeLogsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<GetChangeLogsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new GetChangeLogsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: GetChangeLogsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<GetChangeLogsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.getChangeLogs(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateGetChangeLogs(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: GetChangeLogsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<GetChangeLogsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: GetChangeLogsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
GetDelegationsCommand,
|
|
7
|
-
GetDelegationsCommandInput,
|
|
8
|
-
GetDelegationsCommandOutput,
|
|
9
|
-
} from "../commands/GetDelegationsCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: GetDelegationsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<GetDelegationsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new GetDelegationsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: GetDelegationsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<GetDelegationsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.getDelegations(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateGetDelegations(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: GetDelegationsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<GetDelegationsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: GetDelegationsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
GetEvidenceByEvidenceFolderCommand,
|
|
7
|
-
GetEvidenceByEvidenceFolderCommandInput,
|
|
8
|
-
GetEvidenceByEvidenceFolderCommandOutput,
|
|
9
|
-
} from "../commands/GetEvidenceByEvidenceFolderCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: GetEvidenceByEvidenceFolderCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<GetEvidenceByEvidenceFolderCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new GetEvidenceByEvidenceFolderCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: GetEvidenceByEvidenceFolderCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<GetEvidenceByEvidenceFolderCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.getEvidenceByEvidenceFolder(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateGetEvidenceByEvidenceFolder(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: GetEvidenceByEvidenceFolderCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<GetEvidenceByEvidenceFolderCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: GetEvidenceByEvidenceFolderCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
GetEvidenceFoldersByAssessmentControlCommand,
|
|
7
|
-
GetEvidenceFoldersByAssessmentControlCommandInput,
|
|
8
|
-
GetEvidenceFoldersByAssessmentControlCommandOutput,
|
|
9
|
-
} from "../commands/GetEvidenceFoldersByAssessmentControlCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: GetEvidenceFoldersByAssessmentControlCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<GetEvidenceFoldersByAssessmentControlCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new GetEvidenceFoldersByAssessmentControlCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: GetEvidenceFoldersByAssessmentControlCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<GetEvidenceFoldersByAssessmentControlCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.getEvidenceFoldersByAssessmentControl(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateGetEvidenceFoldersByAssessmentControl(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: GetEvidenceFoldersByAssessmentControlCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<GetEvidenceFoldersByAssessmentControlCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: GetEvidenceFoldersByAssessmentControlCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
GetEvidenceFoldersByAssessmentCommand,
|
|
7
|
-
GetEvidenceFoldersByAssessmentCommandInput,
|
|
8
|
-
GetEvidenceFoldersByAssessmentCommandOutput,
|
|
9
|
-
} from "../commands/GetEvidenceFoldersByAssessmentCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: GetEvidenceFoldersByAssessmentCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<GetEvidenceFoldersByAssessmentCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new GetEvidenceFoldersByAssessmentCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: GetEvidenceFoldersByAssessmentCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<GetEvidenceFoldersByAssessmentCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.getEvidenceFoldersByAssessment(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateGetEvidenceFoldersByAssessment(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: GetEvidenceFoldersByAssessmentCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<GetEvidenceFoldersByAssessmentCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: GetEvidenceFoldersByAssessmentCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
|
|
6
|
-
export interface AuditManagerPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: AuditManager | AuditManagerClient;
|
|
8
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
ListAssessmentFrameworksCommand,
|
|
7
|
-
ListAssessmentFrameworksCommandInput,
|
|
8
|
-
ListAssessmentFrameworksCommandOutput,
|
|
9
|
-
} from "../commands/ListAssessmentFrameworksCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: ListAssessmentFrameworksCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListAssessmentFrameworksCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListAssessmentFrameworksCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: ListAssessmentFrameworksCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListAssessmentFrameworksCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listAssessmentFrameworks(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListAssessmentFrameworks(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: ListAssessmentFrameworksCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListAssessmentFrameworksCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListAssessmentFrameworksCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
ListAssessmentReportsCommand,
|
|
7
|
-
ListAssessmentReportsCommandInput,
|
|
8
|
-
ListAssessmentReportsCommandOutput,
|
|
9
|
-
} from "../commands/ListAssessmentReportsCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: ListAssessmentReportsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListAssessmentReportsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListAssessmentReportsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: ListAssessmentReportsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListAssessmentReportsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listAssessmentReports(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListAssessmentReports(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: ListAssessmentReportsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListAssessmentReportsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListAssessmentReportsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
ListAssessmentsCommand,
|
|
7
|
-
ListAssessmentsCommandInput,
|
|
8
|
-
ListAssessmentsCommandOutput,
|
|
9
|
-
} from "../commands/ListAssessmentsCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: ListAssessmentsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListAssessmentsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListAssessmentsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: ListAssessmentsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListAssessmentsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listAssessments(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListAssessments(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: ListAssessmentsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListAssessmentsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListAssessmentsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
ListControlsCommand,
|
|
7
|
-
ListControlsCommandInput,
|
|
8
|
-
ListControlsCommandOutput,
|
|
9
|
-
} from "../commands/ListControlsCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: ListControlsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListControlsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListControlsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: ListControlsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListControlsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listControls(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListControls(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: ListControlsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListControlsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListControlsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
ListKeywordsForDataSourceCommand,
|
|
7
|
-
ListKeywordsForDataSourceCommandInput,
|
|
8
|
-
ListKeywordsForDataSourceCommandOutput,
|
|
9
|
-
} from "../commands/ListKeywordsForDataSourceCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: ListKeywordsForDataSourceCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListKeywordsForDataSourceCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListKeywordsForDataSourceCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: ListKeywordsForDataSourceCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListKeywordsForDataSourceCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listKeywordsForDataSource(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListKeywordsForDataSource(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: ListKeywordsForDataSourceCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListKeywordsForDataSourceCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListKeywordsForDataSourceCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AuditManager } from "../AuditManager";
|
|
4
|
-
import { AuditManagerClient } from "../AuditManagerClient";
|
|
5
|
-
import {
|
|
6
|
-
ListNotificationsCommand,
|
|
7
|
-
ListNotificationsCommandInput,
|
|
8
|
-
ListNotificationsCommandOutput,
|
|
9
|
-
} from "../commands/ListNotificationsCommand";
|
|
10
|
-
import { AuditManagerPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: AuditManagerClient,
|
|
17
|
-
input: ListNotificationsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListNotificationsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListNotificationsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: AuditManager,
|
|
28
|
-
input: ListNotificationsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListNotificationsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listNotifications(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListNotifications(
|
|
35
|
-
config: AuditManagerPaginationConfiguration,
|
|
36
|
-
input: ListNotificationsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListNotificationsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListNotificationsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof AuditManager) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof AuditManagerClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected AuditManager | AuditManagerClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|