Interface NotificationsClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
The User Notifications API Reference provides descriptions, API request parameters, and the JSON response for each of the User Notifications API actions.
User Notification control plane APIs are currently available in US East (Virginia) - us-east-1.
GetNotificationEvent and ListNotificationEvents APIs are currently available in commercial partition Regions and only return notifications stored in the same Region in which they're called.
The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a notification hub in addition to US East (Virginia).
For information about descriptions, API request parameters, and the JSON response for email contact related API actions, see the User Notifications Contacts API Reference Guide.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateChannelResponseassociateChannel(Consumer<AssociateChannelRequest.Builder> associateChannelRequest) Associates a delivery Channel with a particularNotificationConfiguration.default AssociateChannelResponseassociateChannel(AssociateChannelRequest associateChannelRequest) Associates a delivery Channel with a particularNotificationConfiguration.associateManagedNotificationAccountContact(Consumer<AssociateManagedNotificationAccountContactRequest.Builder> associateManagedNotificationAccountContactRequest) Associates an Account Contact with a particularManagedNotificationConfiguration.associateManagedNotificationAccountContact(AssociateManagedNotificationAccountContactRequest associateManagedNotificationAccountContactRequest) Associates an Account Contact with a particularManagedNotificationConfiguration.associateManagedNotificationAdditionalChannel(Consumer<AssociateManagedNotificationAdditionalChannelRequest.Builder> associateManagedNotificationAdditionalChannelRequest) Associates an additional Channel with a particularManagedNotificationConfiguration.associateManagedNotificationAdditionalChannel(AssociateManagedNotificationAdditionalChannelRequest associateManagedNotificationAdditionalChannelRequest) Associates an additional Channel with a particularManagedNotificationConfiguration.associateOrganizationalUnit(Consumer<AssociateOrganizationalUnitRequest.Builder> associateOrganizationalUnitRequest) Associates an organizational unit with a notification configuration.associateOrganizationalUnit(AssociateOrganizationalUnitRequest associateOrganizationalUnitRequest) Associates an organizational unit with a notification configuration.static NotificationsClientBuilderbuilder()Create a builder that can be used to configure and create aNotificationsClient.static NotificationsClientcreate()Create aNotificationsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateEventRuleResponsecreateEventRule(Consumer<CreateEventRuleRequest.Builder> createEventRuleRequest) Creates anEventRulethat is associated with a specifiedNotificationConfiguration.default CreateEventRuleResponsecreateEventRule(CreateEventRuleRequest createEventRuleRequest) Creates anEventRulethat is associated with a specifiedNotificationConfiguration.createNotificationConfiguration(Consumer<CreateNotificationConfigurationRequest.Builder> createNotificationConfigurationRequest) Creates a newNotificationConfiguration.createNotificationConfiguration(CreateNotificationConfigurationRequest createNotificationConfigurationRequest) Creates a newNotificationConfiguration.default DeleteEventRuleResponsedeleteEventRule(Consumer<DeleteEventRuleRequest.Builder> deleteEventRuleRequest) Deletes anEventRule.default DeleteEventRuleResponsedeleteEventRule(DeleteEventRuleRequest deleteEventRuleRequest) Deletes anEventRule.deleteNotificationConfiguration(Consumer<DeleteNotificationConfigurationRequest.Builder> deleteNotificationConfigurationRequest) Deletes aNotificationConfiguration.deleteNotificationConfiguration(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest) Deletes aNotificationConfiguration.deregisterNotificationHub(Consumer<DeregisterNotificationHubRequest.Builder> deregisterNotificationHubRequest) Deregisters aNotificationConfigurationin the specified Region.deregisterNotificationHub(DeregisterNotificationHubRequest deregisterNotificationHubRequest) Deregisters aNotificationConfigurationin the specified Region.disableNotificationsAccessForOrganization(Consumer<DisableNotificationsAccessForOrganizationRequest.Builder> disableNotificationsAccessForOrganizationRequest) Disables service trust between User Notifications and Amazon Web Services Organizations.disableNotificationsAccessForOrganization(DisableNotificationsAccessForOrganizationRequest disableNotificationsAccessForOrganizationRequest) Disables service trust between User Notifications and Amazon Web Services Organizations.default DisassociateChannelResponsedisassociateChannel(Consumer<DisassociateChannelRequest.Builder> disassociateChannelRequest) Disassociates a Channel from a specifiedNotificationConfiguration.default DisassociateChannelResponsedisassociateChannel(DisassociateChannelRequest disassociateChannelRequest) Disassociates a Channel from a specifiedNotificationConfiguration.disassociateManagedNotificationAccountContact(Consumer<DisassociateManagedNotificationAccountContactRequest.Builder> disassociateManagedNotificationAccountContactRequest) Disassociates an Account Contact with a particularManagedNotificationConfiguration.disassociateManagedNotificationAccountContact(DisassociateManagedNotificationAccountContactRequest disassociateManagedNotificationAccountContactRequest) Disassociates an Account Contact with a particularManagedNotificationConfiguration.disassociateManagedNotificationAdditionalChannel(Consumer<DisassociateManagedNotificationAdditionalChannelRequest.Builder> disassociateManagedNotificationAdditionalChannelRequest) Disassociates an additional Channel from a particularManagedNotificationConfiguration.disassociateManagedNotificationAdditionalChannel(DisassociateManagedNotificationAdditionalChannelRequest disassociateManagedNotificationAdditionalChannelRequest) Disassociates an additional Channel from a particularManagedNotificationConfiguration.disassociateOrganizationalUnit(Consumer<DisassociateOrganizationalUnitRequest.Builder> disassociateOrganizationalUnitRequest) Removes the association between an organizational unit and a notification configuration.disassociateOrganizationalUnit(DisassociateOrganizationalUnitRequest disassociateOrganizationalUnitRequest) Removes the association between an organizational unit and a notification configuration.enableNotificationsAccessForOrganization(Consumer<EnableNotificationsAccessForOrganizationRequest.Builder> enableNotificationsAccessForOrganizationRequest) Enables service trust between User Notifications and Amazon Web Services Organizations.enableNotificationsAccessForOrganization(EnableNotificationsAccessForOrganizationRequest enableNotificationsAccessForOrganizationRequest) Enables service trust between User Notifications and Amazon Web Services Organizations.default GetEventRuleResponsegetEventRule(Consumer<GetEventRuleRequest.Builder> getEventRuleRequest) Returns a specifiedEventRule.default GetEventRuleResponsegetEventRule(GetEventRuleRequest getEventRuleRequest) Returns a specifiedEventRule.getManagedNotificationChildEvent(Consumer<GetManagedNotificationChildEventRequest.Builder> getManagedNotificationChildEventRequest) Returns the child event of a specific givenManagedNotificationEvent.getManagedNotificationChildEvent(GetManagedNotificationChildEventRequest getManagedNotificationChildEventRequest) Returns the child event of a specific givenManagedNotificationEvent.getManagedNotificationConfiguration(Consumer<GetManagedNotificationConfigurationRequest.Builder> getManagedNotificationConfigurationRequest) Returns a specifiedManagedNotificationConfiguration.getManagedNotificationConfiguration(GetManagedNotificationConfigurationRequest getManagedNotificationConfigurationRequest) Returns a specifiedManagedNotificationConfiguration.getManagedNotificationEvent(Consumer<GetManagedNotificationEventRequest.Builder> getManagedNotificationEventRequest) Returns a specifiedManagedNotificationEvent.getManagedNotificationEvent(GetManagedNotificationEventRequest getManagedNotificationEventRequest) Returns a specifiedManagedNotificationEvent.getNotificationConfiguration(Consumer<GetNotificationConfigurationRequest.Builder> getNotificationConfigurationRequest) Returns a specifiedNotificationConfiguration.getNotificationConfiguration(GetNotificationConfigurationRequest getNotificationConfigurationRequest) Returns a specifiedNotificationConfiguration.default GetNotificationEventResponsegetNotificationEvent(Consumer<GetNotificationEventRequest.Builder> getNotificationEventRequest) Returns a specifiedNotificationEvent.default GetNotificationEventResponsegetNotificationEvent(GetNotificationEventRequest getNotificationEventRequest) Returns a specifiedNotificationEvent.getNotificationsAccessForOrganization(Consumer<GetNotificationsAccessForOrganizationRequest.Builder> getNotificationsAccessForOrganizationRequest) Returns the AccessStatus of Service Trust Enablement for User Notifications and Amazon Web Services Organizations.getNotificationsAccessForOrganization(GetNotificationsAccessForOrganizationRequest getNotificationsAccessForOrganizationRequest) Returns the AccessStatus of Service Trust Enablement for User Notifications and Amazon Web Services Organizations.default ListChannelsResponselistChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest) Returns a list of Channels for aNotificationConfiguration.default ListChannelsResponselistChannels(ListChannelsRequest listChannelsRequest) Returns a list of Channels for aNotificationConfiguration.default ListChannelsIterablelistChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest) This is a variant oflistChannels(software.amazon.awssdk.services.notifications.model.ListChannelsRequest)operation.default ListChannelsIterablelistChannelsPaginator(ListChannelsRequest listChannelsRequest) This is a variant oflistChannels(software.amazon.awssdk.services.notifications.model.ListChannelsRequest)operation.default ListEventRulesResponselistEventRules(Consumer<ListEventRulesRequest.Builder> listEventRulesRequest) Returns a list ofEventRulesaccording to specified filters, in reverse chronological order (newest first).default ListEventRulesResponselistEventRules(ListEventRulesRequest listEventRulesRequest) Returns a list ofEventRulesaccording to specified filters, in reverse chronological order (newest first).default ListEventRulesIterablelistEventRulesPaginator(Consumer<ListEventRulesRequest.Builder> listEventRulesRequest) This is a variant oflistEventRules(software.amazon.awssdk.services.notifications.model.ListEventRulesRequest)operation.default ListEventRulesIterablelistEventRulesPaginator(ListEventRulesRequest listEventRulesRequest) This is a variant oflistEventRules(software.amazon.awssdk.services.notifications.model.ListEventRulesRequest)operation.listManagedNotificationChannelAssociations(Consumer<ListManagedNotificationChannelAssociationsRequest.Builder> listManagedNotificationChannelAssociationsRequest) Returns a list of Account contacts and Channels associated with aManagedNotificationConfiguration, in paginated format.listManagedNotificationChannelAssociations(ListManagedNotificationChannelAssociationsRequest listManagedNotificationChannelAssociationsRequest) Returns a list of Account contacts and Channels associated with aManagedNotificationConfiguration, in paginated format.listManagedNotificationChannelAssociationsPaginator(Consumer<ListManagedNotificationChannelAssociationsRequest.Builder> listManagedNotificationChannelAssociationsRequest) listManagedNotificationChannelAssociationsPaginator(ListManagedNotificationChannelAssociationsRequest listManagedNotificationChannelAssociationsRequest) listManagedNotificationChildEvents(Consumer<ListManagedNotificationChildEventsRequest.Builder> listManagedNotificationChildEventsRequest) Returns a list ofManagedNotificationChildEventsfor a specified aggregateManagedNotificationEvent, ordered by creation time in reverse chronological order (newest first).listManagedNotificationChildEvents(ListManagedNotificationChildEventsRequest listManagedNotificationChildEventsRequest) Returns a list ofManagedNotificationChildEventsfor a specified aggregateManagedNotificationEvent, ordered by creation time in reverse chronological order (newest first).listManagedNotificationChildEventsPaginator(Consumer<ListManagedNotificationChildEventsRequest.Builder> listManagedNotificationChildEventsRequest) listManagedNotificationChildEventsPaginator(ListManagedNotificationChildEventsRequest listManagedNotificationChildEventsRequest) listManagedNotificationConfigurations(Consumer<ListManagedNotificationConfigurationsRequest.Builder> listManagedNotificationConfigurationsRequest) Returns a list of Managed Notification Configurations according to specified filters, ordered by creation time in reverse chronological order (newest first).listManagedNotificationConfigurations(ListManagedNotificationConfigurationsRequest listManagedNotificationConfigurationsRequest) Returns a list of Managed Notification Configurations according to specified filters, ordered by creation time in reverse chronological order (newest first).listManagedNotificationConfigurationsPaginator(Consumer<ListManagedNotificationConfigurationsRequest.Builder> listManagedNotificationConfigurationsRequest) listManagedNotificationConfigurationsPaginator(ListManagedNotificationConfigurationsRequest listManagedNotificationConfigurationsRequest) listManagedNotificationEvents(Consumer<ListManagedNotificationEventsRequest.Builder> listManagedNotificationEventsRequest) Returns a list of Managed Notification Events according to specified filters, ordered by creation time in reverse chronological order (newest first).listManagedNotificationEvents(ListManagedNotificationEventsRequest listManagedNotificationEventsRequest) Returns a list of Managed Notification Events according to specified filters, ordered by creation time in reverse chronological order (newest first).listManagedNotificationEventsPaginator(Consumer<ListManagedNotificationEventsRequest.Builder> listManagedNotificationEventsRequest) This is a variant oflistManagedNotificationEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationEventsRequest)operation.listManagedNotificationEventsPaginator(ListManagedNotificationEventsRequest listManagedNotificationEventsRequest) This is a variant oflistManagedNotificationEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationEventsRequest)operation.default ListMemberAccountsResponselistMemberAccounts(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) Returns a list of member accounts associated with a notification configuration.default ListMemberAccountsResponselistMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest) Returns a list of member accounts associated with a notification configuration.default ListMemberAccountsIterablelistMemberAccountsPaginator(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) This is a variant oflistMemberAccounts(software.amazon.awssdk.services.notifications.model.ListMemberAccountsRequest)operation.default ListMemberAccountsIterablelistMemberAccountsPaginator(ListMemberAccountsRequest listMemberAccountsRequest) This is a variant oflistMemberAccounts(software.amazon.awssdk.services.notifications.model.ListMemberAccountsRequest)operation.listNotificationConfigurations(Consumer<ListNotificationConfigurationsRequest.Builder> listNotificationConfigurationsRequest) Returns a list of abbreviatedNotificationConfigurationsaccording to specified filters, in reverse chronological order (newest first).listNotificationConfigurations(ListNotificationConfigurationsRequest listNotificationConfigurationsRequest) Returns a list of abbreviatedNotificationConfigurationsaccording to specified filters, in reverse chronological order (newest first).listNotificationConfigurationsPaginator(Consumer<ListNotificationConfigurationsRequest.Builder> listNotificationConfigurationsRequest) This is a variant oflistNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListNotificationConfigurationsRequest)operation.listNotificationConfigurationsPaginator(ListNotificationConfigurationsRequest listNotificationConfigurationsRequest) This is a variant oflistNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListNotificationConfigurationsRequest)operation.default ListNotificationEventsResponselistNotificationEvents(Consumer<ListNotificationEventsRequest.Builder> listNotificationEventsRequest) Returns a list ofNotificationEventsaccording to specified filters, in reverse chronological order (newest first).default ListNotificationEventsResponselistNotificationEvents(ListNotificationEventsRequest listNotificationEventsRequest) Returns a list ofNotificationEventsaccording to specified filters, in reverse chronological order (newest first).default ListNotificationEventsIterablelistNotificationEventsPaginator(Consumer<ListNotificationEventsRequest.Builder> listNotificationEventsRequest) This is a variant oflistNotificationEvents(software.amazon.awssdk.services.notifications.model.ListNotificationEventsRequest)operation.default ListNotificationEventsIterablelistNotificationEventsPaginator(ListNotificationEventsRequest listNotificationEventsRequest) This is a variant oflistNotificationEvents(software.amazon.awssdk.services.notifications.model.ListNotificationEventsRequest)operation.default ListNotificationHubsResponselistNotificationHubs(Consumer<ListNotificationHubsRequest.Builder> listNotificationHubsRequest) Returns a list ofNotificationHubs.default ListNotificationHubsResponselistNotificationHubs(ListNotificationHubsRequest listNotificationHubsRequest) Returns a list ofNotificationHubs.default ListNotificationHubsIterablelistNotificationHubsPaginator(Consumer<ListNotificationHubsRequest.Builder> listNotificationHubsRequest) This is a variant oflistNotificationHubs(software.amazon.awssdk.services.notifications.model.ListNotificationHubsRequest)operation.default ListNotificationHubsIterablelistNotificationHubsPaginator(ListNotificationHubsRequest listNotificationHubsRequest) This is a variant oflistNotificationHubs(software.amazon.awssdk.services.notifications.model.ListNotificationHubsRequest)operation.default ListOrganizationalUnitsResponselistOrganizationalUnits(Consumer<ListOrganizationalUnitsRequest.Builder> listOrganizationalUnitsRequest) Returns a list of organizational units associated with a notification configuration.default ListOrganizationalUnitsResponselistOrganizationalUnits(ListOrganizationalUnitsRequest listOrganizationalUnitsRequest) Returns a list of organizational units associated with a notification configuration.default ListOrganizationalUnitsIterablelistOrganizationalUnitsPaginator(Consumer<ListOrganizationalUnitsRequest.Builder> listOrganizationalUnitsRequest) This is a variant oflistOrganizationalUnits(software.amazon.awssdk.services.notifications.model.ListOrganizationalUnitsRequest)operation.default ListOrganizationalUnitsIterablelistOrganizationalUnitsPaginator(ListOrganizationalUnitsRequest listOrganizationalUnitsRequest) This is a variant oflistOrganizationalUnits(software.amazon.awssdk.services.notifications.model.ListOrganizationalUnitsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for a specified Amazon Resource Name (ARN).default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for a specified Amazon Resource Name (ARN).default RegisterNotificationHubResponseregisterNotificationHub(Consumer<RegisterNotificationHubRequest.Builder> registerNotificationHubRequest) Registers aNotificationConfigurationin the specified Region.default RegisterNotificationHubResponseregisterNotificationHub(RegisterNotificationHubRequest registerNotificationHubRequest) Registers aNotificationConfigurationin the specified Region.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags the resource with a tag key and value.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Tags the resource with a tag key and value.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Untags a resource with a specified Amazon Resource Name (ARN).default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Untags a resource with a specified Amazon Resource Name (ARN).default UpdateEventRuleResponseupdateEventRule(Consumer<UpdateEventRuleRequest.Builder> updateEventRuleRequest) Updates an existingEventRule.default UpdateEventRuleResponseupdateEventRule(UpdateEventRuleRequest updateEventRuleRequest) Updates an existingEventRule.updateNotificationConfiguration(Consumer<UpdateNotificationConfigurationRequest.Builder> updateNotificationConfigurationRequest) Updates aNotificationConfiguration.updateNotificationConfiguration(UpdateNotificationConfigurationRequest updateNotificationConfigurationRequest) Updates aNotificationConfiguration.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateChannel
default AssociateChannelResponse associateChannel(AssociateChannelRequest associateChannelRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Associates a delivery Channel with a particular
NotificationConfiguration. Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).- Parameters:
associateChannelRequest-- Returns:
- Result of the AssociateChannel operation returned by the service.
- See Also:
-
associateChannel
default AssociateChannelResponse associateChannel(Consumer<AssociateChannelRequest.Builder> associateChannelRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Associates a delivery Channel with a particular
NotificationConfiguration. Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).
This is a convenience which creates an instance of the
AssociateChannelRequest.Builderavoiding the need to create one manually viaAssociateChannelRequest.builder()- Parameters:
associateChannelRequest- AConsumerthat will call methods onAssociateChannelRequest.Builderto create a request.- Returns:
- Result of the AssociateChannel operation returned by the service.
- See Also:
-
associateManagedNotificationAccountContact
default AssociateManagedNotificationAccountContactResponse associateManagedNotificationAccountContact(AssociateManagedNotificationAccountContactRequest associateManagedNotificationAccountContactRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Associates an Account Contact with a particular
ManagedNotificationConfiguration.- Parameters:
associateManagedNotificationAccountContactRequest-- Returns:
- Result of the AssociateManagedNotificationAccountContact operation returned by the service.
- See Also:
-
associateManagedNotificationAccountContact
default AssociateManagedNotificationAccountContactResponse associateManagedNotificationAccountContact(Consumer<AssociateManagedNotificationAccountContactRequest.Builder> associateManagedNotificationAccountContactRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Associates an Account Contact with a particular
ManagedNotificationConfiguration.
This is a convenience which creates an instance of the
AssociateManagedNotificationAccountContactRequest.Builderavoiding the need to create one manually viaAssociateManagedNotificationAccountContactRequest.builder()- Parameters:
associateManagedNotificationAccountContactRequest- AConsumerthat will call methods onAssociateManagedNotificationAccountContactRequest.Builderto create a request.- Returns:
- Result of the AssociateManagedNotificationAccountContact operation returned by the service.
- See Also:
-
associateManagedNotificationAdditionalChannel
default AssociateManagedNotificationAdditionalChannelResponse associateManagedNotificationAdditionalChannel(AssociateManagedNotificationAdditionalChannelRequest associateManagedNotificationAdditionalChannelRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Associates an additional Channel with a particular
ManagedNotificationConfiguration.Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).
- Parameters:
associateManagedNotificationAdditionalChannelRequest-- Returns:
- Result of the AssociateManagedNotificationAdditionalChannel operation returned by the service.
- See Also:
-
associateManagedNotificationAdditionalChannel
default AssociateManagedNotificationAdditionalChannelResponse associateManagedNotificationAdditionalChannel(Consumer<AssociateManagedNotificationAdditionalChannelRequest.Builder> associateManagedNotificationAdditionalChannelRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Associates an additional Channel with a particular
ManagedNotificationConfiguration.Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).
This is a convenience which creates an instance of the
AssociateManagedNotificationAdditionalChannelRequest.Builderavoiding the need to create one manually viaAssociateManagedNotificationAdditionalChannelRequest.builder()- Parameters:
associateManagedNotificationAdditionalChannelRequest- AConsumerthat will call methods onAssociateManagedNotificationAdditionalChannelRequest.Builderto create a request.- Returns:
- Result of the AssociateManagedNotificationAdditionalChannel operation returned by the service.
- See Also:
-
associateOrganizationalUnit
default AssociateOrganizationalUnitResponse associateOrganizationalUnit(AssociateOrganizationalUnitRequest associateOrganizationalUnitRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Associates an organizational unit with a notification configuration.
- Parameters:
associateOrganizationalUnitRequest-- Returns:
- Result of the AssociateOrganizationalUnit operation returned by the service.
- See Also:
-
associateOrganizationalUnit
default AssociateOrganizationalUnitResponse associateOrganizationalUnit(Consumer<AssociateOrganizationalUnitRequest.Builder> associateOrganizationalUnitRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Associates an organizational unit with a notification configuration.
This is a convenience which creates an instance of the
AssociateOrganizationalUnitRequest.Builderavoiding the need to create one manually viaAssociateOrganizationalUnitRequest.builder()- Parameters:
associateOrganizationalUnitRequest- AConsumerthat will call methods onAssociateOrganizationalUnitRequest.Builderto create a request.- Returns:
- Result of the AssociateOrganizationalUnit operation returned by the service.
- See Also:
-
createEventRule
default CreateEventRuleResponse createEventRule(CreateEventRuleRequest createEventRuleRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Creates an
EventRulethat is associated with a specifiedNotificationConfiguration.- Parameters:
createEventRuleRequest-- Returns:
- Result of the CreateEventRule operation returned by the service.
- See Also:
-
createEventRule
default CreateEventRuleResponse createEventRule(Consumer<CreateEventRuleRequest.Builder> createEventRuleRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Creates an
EventRulethat is associated with a specifiedNotificationConfiguration.
This is a convenience which creates an instance of the
CreateEventRuleRequest.Builderavoiding the need to create one manually viaCreateEventRuleRequest.builder()- Parameters:
createEventRuleRequest- AConsumerthat will call methods onCreateEventRuleRequest.Builderto create a request.- Returns:
- Result of the CreateEventRule operation returned by the service.
- See Also:
-
createNotificationConfiguration
default CreateNotificationConfigurationResponse createNotificationConfiguration(CreateNotificationConfigurationRequest createNotificationConfigurationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Creates a new
NotificationConfiguration.- Parameters:
createNotificationConfigurationRequest-- Returns:
- Result of the CreateNotificationConfiguration operation returned by the service.
- See Also:
-
createNotificationConfiguration
default CreateNotificationConfigurationResponse createNotificationConfiguration(Consumer<CreateNotificationConfigurationRequest.Builder> createNotificationConfigurationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Creates a new
NotificationConfiguration.
This is a convenience which creates an instance of the
CreateNotificationConfigurationRequest.Builderavoiding the need to create one manually viaCreateNotificationConfigurationRequest.builder()- Parameters:
createNotificationConfigurationRequest- AConsumerthat will call methods onCreateNotificationConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateNotificationConfiguration operation returned by the service.
- See Also:
-
deleteEventRule
default DeleteEventRuleResponse deleteEventRule(DeleteEventRuleRequest deleteEventRuleRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Deletes an
EventRule.- Parameters:
deleteEventRuleRequest-- Returns:
- Result of the DeleteEventRule operation returned by the service.
- See Also:
-
deleteEventRule
default DeleteEventRuleResponse deleteEventRule(Consumer<DeleteEventRuleRequest.Builder> deleteEventRuleRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Deletes an
EventRule.
This is a convenience which creates an instance of the
DeleteEventRuleRequest.Builderavoiding the need to create one manually viaDeleteEventRuleRequest.builder()- Parameters:
deleteEventRuleRequest- AConsumerthat will call methods onDeleteEventRuleRequest.Builderto create a request.- Returns:
- Result of the DeleteEventRule operation returned by the service.
- See Also:
-
deleteNotificationConfiguration
default DeleteNotificationConfigurationResponse deleteNotificationConfiguration(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Deletes a
NotificationConfiguration.- Parameters:
deleteNotificationConfigurationRequest-- Returns:
- Result of the DeleteNotificationConfiguration operation returned by the service.
- See Also:
-
deleteNotificationConfiguration
default DeleteNotificationConfigurationResponse deleteNotificationConfiguration(Consumer<DeleteNotificationConfigurationRequest.Builder> deleteNotificationConfigurationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Deletes a
NotificationConfiguration.
This is a convenience which creates an instance of the
DeleteNotificationConfigurationRequest.Builderavoiding the need to create one manually viaDeleteNotificationConfigurationRequest.builder()- Parameters:
deleteNotificationConfigurationRequest- AConsumerthat will call methods onDeleteNotificationConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteNotificationConfiguration operation returned by the service.
- See Also:
-
deregisterNotificationHub
default DeregisterNotificationHubResponse deregisterNotificationHub(DeregisterNotificationHubRequest deregisterNotificationHubRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Deregisters a
NotificationConfigurationin the specified Region.You can't deregister the last
NotificationHubin the account.NotificationEventsstored in the deregisteredNotificationConfigurationare no longer be visible. Recreating a newNotificationConfigurationin the same Region restores access to thoseNotificationEvents.- Parameters:
deregisterNotificationHubRequest-- Returns:
- Result of the DeregisterNotificationHub operation returned by the service.
- See Also:
-
deregisterNotificationHub
default DeregisterNotificationHubResponse deregisterNotificationHub(Consumer<DeregisterNotificationHubRequest.Builder> deregisterNotificationHubRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Deregisters a
NotificationConfigurationin the specified Region.You can't deregister the last
NotificationHubin the account.NotificationEventsstored in the deregisteredNotificationConfigurationare no longer be visible. Recreating a newNotificationConfigurationin the same Region restores access to thoseNotificationEvents.
This is a convenience which creates an instance of the
DeregisterNotificationHubRequest.Builderavoiding the need to create one manually viaDeregisterNotificationHubRequest.builder()- Parameters:
deregisterNotificationHubRequest- AConsumerthat will call methods onDeregisterNotificationHubRequest.Builderto create a request.- Returns:
- Result of the DeregisterNotificationHub operation returned by the service.
- See Also:
-
disableNotificationsAccessForOrganization
default DisableNotificationsAccessForOrganizationResponse disableNotificationsAccessForOrganization(DisableNotificationsAccessForOrganizationRequest disableNotificationsAccessForOrganizationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Disables service trust between User Notifications and Amazon Web Services Organizations.
- Parameters:
disableNotificationsAccessForOrganizationRequest-- Returns:
- Result of the DisableNotificationsAccessForOrganization operation returned by the service.
- See Also:
-
disableNotificationsAccessForOrganization
default DisableNotificationsAccessForOrganizationResponse disableNotificationsAccessForOrganization(Consumer<DisableNotificationsAccessForOrganizationRequest.Builder> disableNotificationsAccessForOrganizationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Disables service trust between User Notifications and Amazon Web Services Organizations.
This is a convenience which creates an instance of the
DisableNotificationsAccessForOrganizationRequest.Builderavoiding the need to create one manually viaDisableNotificationsAccessForOrganizationRequest.builder()- Parameters:
disableNotificationsAccessForOrganizationRequest- AConsumerthat will call methods onDisableNotificationsAccessForOrganizationRequest.Builderto create a request.- Returns:
- Result of the DisableNotificationsAccessForOrganization operation returned by the service.
- See Also:
-
disassociateChannel
default DisassociateChannelResponse disassociateChannel(DisassociateChannelRequest disassociateChannelRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Disassociates a Channel from a specified
NotificationConfiguration. Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).- Parameters:
disassociateChannelRequest-- Returns:
- Result of the DisassociateChannel operation returned by the service.
- See Also:
-
disassociateChannel
default DisassociateChannelResponse disassociateChannel(Consumer<DisassociateChannelRequest.Builder> disassociateChannelRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Disassociates a Channel from a specified
NotificationConfiguration. Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).
This is a convenience which creates an instance of the
DisassociateChannelRequest.Builderavoiding the need to create one manually viaDisassociateChannelRequest.builder()- Parameters:
disassociateChannelRequest- AConsumerthat will call methods onDisassociateChannelRequest.Builderto create a request.- Returns:
- Result of the DisassociateChannel operation returned by the service.
- See Also:
-
disassociateManagedNotificationAccountContact
default DisassociateManagedNotificationAccountContactResponse disassociateManagedNotificationAccountContact(DisassociateManagedNotificationAccountContactRequest disassociateManagedNotificationAccountContactRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Disassociates an Account Contact with a particular
ManagedNotificationConfiguration.- Parameters:
disassociateManagedNotificationAccountContactRequest-- Returns:
- Result of the DisassociateManagedNotificationAccountContact operation returned by the service.
- See Also:
-
disassociateManagedNotificationAccountContact
default DisassociateManagedNotificationAccountContactResponse disassociateManagedNotificationAccountContact(Consumer<DisassociateManagedNotificationAccountContactRequest.Builder> disassociateManagedNotificationAccountContactRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Disassociates an Account Contact with a particular
ManagedNotificationConfiguration.
This is a convenience which creates an instance of the
DisassociateManagedNotificationAccountContactRequest.Builderavoiding the need to create one manually viaDisassociateManagedNotificationAccountContactRequest.builder()- Parameters:
disassociateManagedNotificationAccountContactRequest- AConsumerthat will call methods onDisassociateManagedNotificationAccountContactRequest.Builderto create a request.- Returns:
- Result of the DisassociateManagedNotificationAccountContact operation returned by the service.
- See Also:
-
disassociateManagedNotificationAdditionalChannel
default DisassociateManagedNotificationAdditionalChannelResponse disassociateManagedNotificationAdditionalChannel(DisassociateManagedNotificationAdditionalChannelRequest disassociateManagedNotificationAdditionalChannelRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Disassociates an additional Channel from a particular
ManagedNotificationConfiguration.Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).
- Parameters:
disassociateManagedNotificationAdditionalChannelRequest-- Returns:
- Result of the DisassociateManagedNotificationAdditionalChannel operation returned by the service.
- See Also:
-
disassociateManagedNotificationAdditionalChannel
default DisassociateManagedNotificationAdditionalChannelResponse disassociateManagedNotificationAdditionalChannel(Consumer<DisassociateManagedNotificationAdditionalChannelRequest.Builder> disassociateManagedNotificationAdditionalChannelRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Disassociates an additional Channel from a particular
ManagedNotificationConfiguration.Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).
This is a convenience which creates an instance of the
DisassociateManagedNotificationAdditionalChannelRequest.Builderavoiding the need to create one manually viaDisassociateManagedNotificationAdditionalChannelRequest.builder()- Parameters:
disassociateManagedNotificationAdditionalChannelRequest- AConsumerthat will call methods onDisassociateManagedNotificationAdditionalChannelRequest.Builderto create a request.- Returns:
- Result of the DisassociateManagedNotificationAdditionalChannel operation returned by the service.
- See Also:
-
disassociateOrganizationalUnit
default DisassociateOrganizationalUnitResponse disassociateOrganizationalUnit(DisassociateOrganizationalUnitRequest disassociateOrganizationalUnitRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Removes the association between an organizational unit and a notification configuration.
- Parameters:
disassociateOrganizationalUnitRequest-- Returns:
- Result of the DisassociateOrganizationalUnit operation returned by the service.
- See Also:
-
disassociateOrganizationalUnit
default DisassociateOrganizationalUnitResponse disassociateOrganizationalUnit(Consumer<DisassociateOrganizationalUnitRequest.Builder> disassociateOrganizationalUnitRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Removes the association between an organizational unit and a notification configuration.
This is a convenience which creates an instance of the
DisassociateOrganizationalUnitRequest.Builderavoiding the need to create one manually viaDisassociateOrganizationalUnitRequest.builder()- Parameters:
disassociateOrganizationalUnitRequest- AConsumerthat will call methods onDisassociateOrganizationalUnitRequest.Builderto create a request.- Returns:
- Result of the DisassociateOrganizationalUnit operation returned by the service.
- See Also:
-
enableNotificationsAccessForOrganization
default EnableNotificationsAccessForOrganizationResponse enableNotificationsAccessForOrganization(EnableNotificationsAccessForOrganizationRequest enableNotificationsAccessForOrganizationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Enables service trust between User Notifications and Amazon Web Services Organizations.
- Parameters:
enableNotificationsAccessForOrganizationRequest-- Returns:
- Result of the EnableNotificationsAccessForOrganization operation returned by the service.
- See Also:
-
enableNotificationsAccessForOrganization
default EnableNotificationsAccessForOrganizationResponse enableNotificationsAccessForOrganization(Consumer<EnableNotificationsAccessForOrganizationRequest.Builder> enableNotificationsAccessForOrganizationRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Enables service trust between User Notifications and Amazon Web Services Organizations.
This is a convenience which creates an instance of the
EnableNotificationsAccessForOrganizationRequest.Builderavoiding the need to create one manually viaEnableNotificationsAccessForOrganizationRequest.builder()- Parameters:
enableNotificationsAccessForOrganizationRequest- AConsumerthat will call methods onEnableNotificationsAccessForOrganizationRequest.Builderto create a request.- Returns:
- Result of the EnableNotificationsAccessForOrganization operation returned by the service.
- See Also:
-
getEventRule
default GetEventRuleResponse getEventRule(GetEventRuleRequest getEventRuleRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
EventRule.- Parameters:
getEventRuleRequest-- Returns:
- Result of the GetEventRule operation returned by the service.
- See Also:
-
getEventRule
default GetEventRuleResponse getEventRule(Consumer<GetEventRuleRequest.Builder> getEventRuleRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
EventRule.
This is a convenience which creates an instance of the
GetEventRuleRequest.Builderavoiding the need to create one manually viaGetEventRuleRequest.builder()- Parameters:
getEventRuleRequest- AConsumerthat will call methods onGetEventRuleRequest.Builderto create a request.- Returns:
- Result of the GetEventRule operation returned by the service.
- See Also:
-
getManagedNotificationChildEvent
default GetManagedNotificationChildEventResponse getManagedNotificationChildEvent(GetManagedNotificationChildEventRequest getManagedNotificationChildEventRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns the child event of a specific given
ManagedNotificationEvent.- Parameters:
getManagedNotificationChildEventRequest-- Returns:
- Result of the GetManagedNotificationChildEvent operation returned by the service.
- See Also:
-
getManagedNotificationChildEvent
default GetManagedNotificationChildEventResponse getManagedNotificationChildEvent(Consumer<GetManagedNotificationChildEventRequest.Builder> getManagedNotificationChildEventRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns the child event of a specific given
ManagedNotificationEvent.
This is a convenience which creates an instance of the
GetManagedNotificationChildEventRequest.Builderavoiding the need to create one manually viaGetManagedNotificationChildEventRequest.builder()- Parameters:
getManagedNotificationChildEventRequest- AConsumerthat will call methods onGetManagedNotificationChildEventRequest.Builderto create a request.- Returns:
- Result of the GetManagedNotificationChildEvent operation returned by the service.
- See Also:
-
getManagedNotificationConfiguration
default GetManagedNotificationConfigurationResponse getManagedNotificationConfiguration(GetManagedNotificationConfigurationRequest getManagedNotificationConfigurationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
ManagedNotificationConfiguration.- Parameters:
getManagedNotificationConfigurationRequest-- Returns:
- Result of the GetManagedNotificationConfiguration operation returned by the service.
- See Also:
-
getManagedNotificationConfiguration
default GetManagedNotificationConfigurationResponse getManagedNotificationConfiguration(Consumer<GetManagedNotificationConfigurationRequest.Builder> getManagedNotificationConfigurationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
ManagedNotificationConfiguration.
This is a convenience which creates an instance of the
GetManagedNotificationConfigurationRequest.Builderavoiding the need to create one manually viaGetManagedNotificationConfigurationRequest.builder()- Parameters:
getManagedNotificationConfigurationRequest- AConsumerthat will call methods onGetManagedNotificationConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetManagedNotificationConfiguration operation returned by the service.
- See Also:
-
getManagedNotificationEvent
default GetManagedNotificationEventResponse getManagedNotificationEvent(GetManagedNotificationEventRequest getManagedNotificationEventRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
ManagedNotificationEvent.- Parameters:
getManagedNotificationEventRequest-- Returns:
- Result of the GetManagedNotificationEvent operation returned by the service.
- See Also:
-
getManagedNotificationEvent
default GetManagedNotificationEventResponse getManagedNotificationEvent(Consumer<GetManagedNotificationEventRequest.Builder> getManagedNotificationEventRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
ManagedNotificationEvent.
This is a convenience which creates an instance of the
GetManagedNotificationEventRequest.Builderavoiding the need to create one manually viaGetManagedNotificationEventRequest.builder()- Parameters:
getManagedNotificationEventRequest- AConsumerthat will call methods onGetManagedNotificationEventRequest.Builderto create a request.- Returns:
- Result of the GetManagedNotificationEvent operation returned by the service.
- See Also:
-
getNotificationConfiguration
default GetNotificationConfigurationResponse getNotificationConfiguration(GetNotificationConfigurationRequest getNotificationConfigurationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
NotificationConfiguration.- Parameters:
getNotificationConfigurationRequest-- Returns:
- Result of the GetNotificationConfiguration operation returned by the service.
- See Also:
-
getNotificationConfiguration
default GetNotificationConfigurationResponse getNotificationConfiguration(Consumer<GetNotificationConfigurationRequest.Builder> getNotificationConfigurationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
NotificationConfiguration.
This is a convenience which creates an instance of the
GetNotificationConfigurationRequest.Builderavoiding the need to create one manually viaGetNotificationConfigurationRequest.builder()- Parameters:
getNotificationConfigurationRequest- AConsumerthat will call methods onGetNotificationConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetNotificationConfiguration operation returned by the service.
- See Also:
-
getNotificationEvent
default GetNotificationEventResponse getNotificationEvent(GetNotificationEventRequest getNotificationEventRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
NotificationEvent.User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule.
GetNotificationEventonly returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see Notification hubs in the Amazon Web Services User Notifications User Guide.- Parameters:
getNotificationEventRequest-- Returns:
- Result of the GetNotificationEvent operation returned by the service.
- See Also:
-
getNotificationEvent
default GetNotificationEventResponse getNotificationEvent(Consumer<GetNotificationEventRequest.Builder> getNotificationEventRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a specified
NotificationEvent.User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule.
GetNotificationEventonly returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see Notification hubs in the Amazon Web Services User Notifications User Guide.
This is a convenience which creates an instance of the
GetNotificationEventRequest.Builderavoiding the need to create one manually viaGetNotificationEventRequest.builder()- Parameters:
getNotificationEventRequest- AConsumerthat will call methods onGetNotificationEventRequest.Builderto create a request.- Returns:
- Result of the GetNotificationEvent operation returned by the service.
- See Also:
-
getNotificationsAccessForOrganization
default GetNotificationsAccessForOrganizationResponse getNotificationsAccessForOrganization(GetNotificationsAccessForOrganizationRequest getNotificationsAccessForOrganizationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns the AccessStatus of Service Trust Enablement for User Notifications and Amazon Web Services Organizations.
- Parameters:
getNotificationsAccessForOrganizationRequest-- Returns:
- Result of the GetNotificationsAccessForOrganization operation returned by the service.
- See Also:
-
getNotificationsAccessForOrganization
default GetNotificationsAccessForOrganizationResponse getNotificationsAccessForOrganization(Consumer<GetNotificationsAccessForOrganizationRequest.Builder> getNotificationsAccessForOrganizationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns the AccessStatus of Service Trust Enablement for User Notifications and Amazon Web Services Organizations.
This is a convenience which creates an instance of the
GetNotificationsAccessForOrganizationRequest.Builderavoiding the need to create one manually viaGetNotificationsAccessForOrganizationRequest.builder()- Parameters:
getNotificationsAccessForOrganizationRequest- AConsumerthat will call methods onGetNotificationsAccessForOrganizationRequest.Builderto create a request.- Returns:
- Result of the GetNotificationsAccessForOrganization operation returned by the service.
- See Also:
-
listChannels
default ListChannelsResponse listChannels(ListChannelsRequest listChannelsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of Channels for a
NotificationConfiguration.- Parameters:
listChannelsRequest-- Returns:
- Result of the ListChannels operation returned by the service.
- See Also:
-
listChannels
default ListChannelsResponse listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of Channels for a
NotificationConfiguration.
This is a convenience which creates an instance of the
ListChannelsRequest.Builderavoiding the need to create one manually viaListChannelsRequest.builder()- Parameters:
listChannelsRequest- AConsumerthat will call methods onListChannelsRequest.Builderto create a request.- Returns:
- Result of the ListChannels operation returned by the service.
- See Also:
-
listChannelsPaginator
default ListChannelsIterable listChannelsPaginator(ListChannelsRequest listChannelsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listChannels(software.amazon.awssdk.services.notifications.model.ListChannelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListChannelsIterable responses = client .listChannelsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListChannelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.notifications.model.ListChannelsRequest)operation.- Parameters:
listChannelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listChannelsPaginator
default ListChannelsIterable listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listChannels(software.amazon.awssdk.services.notifications.model.ListChannelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListChannelsIterable responses = client .listChannelsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListChannelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.notifications.model.ListChannelsRequest)operation.
This is a convenience which creates an instance of the
ListChannelsRequest.Builderavoiding the need to create one manually viaListChannelsRequest.builder()- Parameters:
listChannelsRequest- AConsumerthat will call methods onListChannelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEventRules
default ListEventRulesResponse listEventRules(ListEventRulesRequest listEventRulesRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of
EventRulesaccording to specified filters, in reverse chronological order (newest first).- Parameters:
listEventRulesRequest-- Returns:
- Result of the ListEventRules operation returned by the service.
- See Also:
-
listEventRules
default ListEventRulesResponse listEventRules(Consumer<ListEventRulesRequest.Builder> listEventRulesRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of
EventRulesaccording to specified filters, in reverse chronological order (newest first).
This is a convenience which creates an instance of the
ListEventRulesRequest.Builderavoiding the need to create one manually viaListEventRulesRequest.builder()- Parameters:
listEventRulesRequest- AConsumerthat will call methods onListEventRulesRequest.Builderto create a request.- Returns:
- Result of the ListEventRules operation returned by the service.
- See Also:
-
listEventRulesPaginator
default ListEventRulesIterable listEventRulesPaginator(ListEventRulesRequest listEventRulesRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listEventRules(software.amazon.awssdk.services.notifications.model.ListEventRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListEventRulesIterable responses = client.listEventRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListEventRulesIterable responses = client .listEventRulesPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListEventRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListEventRulesIterable responses = client.listEventRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEventRules(software.amazon.awssdk.services.notifications.model.ListEventRulesRequest)operation.- Parameters:
listEventRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEventRulesPaginator
default ListEventRulesIterable listEventRulesPaginator(Consumer<ListEventRulesRequest.Builder> listEventRulesRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listEventRules(software.amazon.awssdk.services.notifications.model.ListEventRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListEventRulesIterable responses = client.listEventRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListEventRulesIterable responses = client .listEventRulesPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListEventRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListEventRulesIterable responses = client.listEventRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEventRules(software.amazon.awssdk.services.notifications.model.ListEventRulesRequest)operation.
This is a convenience which creates an instance of the
ListEventRulesRequest.Builderavoiding the need to create one manually viaListEventRulesRequest.builder()- Parameters:
listEventRulesRequest- AConsumerthat will call methods onListEventRulesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedNotificationChannelAssociations
default ListManagedNotificationChannelAssociationsResponse listManagedNotificationChannelAssociations(ListManagedNotificationChannelAssociationsRequest listManagedNotificationChannelAssociationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of Account contacts and Channels associated with a
ManagedNotificationConfiguration, in paginated format.- Parameters:
listManagedNotificationChannelAssociationsRequest-- Returns:
- Result of the ListManagedNotificationChannelAssociations operation returned by the service.
- See Also:
-
listManagedNotificationChannelAssociations
default ListManagedNotificationChannelAssociationsResponse listManagedNotificationChannelAssociations(Consumer<ListManagedNotificationChannelAssociationsRequest.Builder> listManagedNotificationChannelAssociationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of Account contacts and Channels associated with a
ManagedNotificationConfiguration, in paginated format.
This is a convenience which creates an instance of the
ListManagedNotificationChannelAssociationsRequest.Builderavoiding the need to create one manually viaListManagedNotificationChannelAssociationsRequest.builder()- Parameters:
listManagedNotificationChannelAssociationsRequest- AConsumerthat will call methods onListManagedNotificationChannelAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListManagedNotificationChannelAssociations operation returned by the service.
- See Also:
-
listManagedNotificationChannelAssociationsPaginator
default ListManagedNotificationChannelAssociationsIterable listManagedNotificationChannelAssociationsPaginator(ListManagedNotificationChannelAssociationsRequest listManagedNotificationChannelAssociationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listManagedNotificationChannelAssociations(software.amazon.awssdk.services.notifications.model.ListManagedNotificationChannelAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChannelAssociationsIterable responses = client.listManagedNotificationChannelAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChannelAssociationsIterable responses = client .listManagedNotificationChannelAssociationsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListManagedNotificationChannelAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChannelAssociationsIterable responses = client.listManagedNotificationChannelAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedNotificationChannelAssociations(software.amazon.awssdk.services.notifications.model.ListManagedNotificationChannelAssociationsRequest)operation.- Parameters:
listManagedNotificationChannelAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedNotificationChannelAssociationsPaginator
default ListManagedNotificationChannelAssociationsIterable listManagedNotificationChannelAssociationsPaginator(Consumer<ListManagedNotificationChannelAssociationsRequest.Builder> listManagedNotificationChannelAssociationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listManagedNotificationChannelAssociations(software.amazon.awssdk.services.notifications.model.ListManagedNotificationChannelAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChannelAssociationsIterable responses = client.listManagedNotificationChannelAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChannelAssociationsIterable responses = client .listManagedNotificationChannelAssociationsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListManagedNotificationChannelAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChannelAssociationsIterable responses = client.listManagedNotificationChannelAssociationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedNotificationChannelAssociations(software.amazon.awssdk.services.notifications.model.ListManagedNotificationChannelAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListManagedNotificationChannelAssociationsRequest.Builderavoiding the need to create one manually viaListManagedNotificationChannelAssociationsRequest.builder()- Parameters:
listManagedNotificationChannelAssociationsRequest- AConsumerthat will call methods onListManagedNotificationChannelAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedNotificationChildEvents
default ListManagedNotificationChildEventsResponse listManagedNotificationChildEvents(ListManagedNotificationChildEventsRequest listManagedNotificationChildEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of
ManagedNotificationChildEventsfor a specified aggregateManagedNotificationEvent, ordered by creation time in reverse chronological order (newest first).- Parameters:
listManagedNotificationChildEventsRequest-- Returns:
- Result of the ListManagedNotificationChildEvents operation returned by the service.
- See Also:
-
listManagedNotificationChildEvents
default ListManagedNotificationChildEventsResponse listManagedNotificationChildEvents(Consumer<ListManagedNotificationChildEventsRequest.Builder> listManagedNotificationChildEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of
ManagedNotificationChildEventsfor a specified aggregateManagedNotificationEvent, ordered by creation time in reverse chronological order (newest first).
This is a convenience which creates an instance of the
ListManagedNotificationChildEventsRequest.Builderavoiding the need to create one manually viaListManagedNotificationChildEventsRequest.builder()- Parameters:
listManagedNotificationChildEventsRequest- AConsumerthat will call methods onListManagedNotificationChildEventsRequest.Builderto create a request.- Returns:
- Result of the ListManagedNotificationChildEvents operation returned by the service.
- See Also:
-
listManagedNotificationChildEventsPaginator
default ListManagedNotificationChildEventsIterable listManagedNotificationChildEventsPaginator(ListManagedNotificationChildEventsRequest listManagedNotificationChildEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listManagedNotificationChildEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationChildEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChildEventsIterable responses = client.listManagedNotificationChildEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChildEventsIterable responses = client .listManagedNotificationChildEventsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListManagedNotificationChildEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChildEventsIterable responses = client.listManagedNotificationChildEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedNotificationChildEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationChildEventsRequest)operation.- Parameters:
listManagedNotificationChildEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedNotificationChildEventsPaginator
default ListManagedNotificationChildEventsIterable listManagedNotificationChildEventsPaginator(Consumer<ListManagedNotificationChildEventsRequest.Builder> listManagedNotificationChildEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listManagedNotificationChildEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationChildEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChildEventsIterable responses = client.listManagedNotificationChildEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChildEventsIterable responses = client .listManagedNotificationChildEventsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListManagedNotificationChildEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationChildEventsIterable responses = client.listManagedNotificationChildEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedNotificationChildEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationChildEventsRequest)operation.
This is a convenience which creates an instance of the
ListManagedNotificationChildEventsRequest.Builderavoiding the need to create one manually viaListManagedNotificationChildEventsRequest.builder()- Parameters:
listManagedNotificationChildEventsRequest- AConsumerthat will call methods onListManagedNotificationChildEventsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedNotificationConfigurations
default ListManagedNotificationConfigurationsResponse listManagedNotificationConfigurations(ListManagedNotificationConfigurationsRequest listManagedNotificationConfigurationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of Managed Notification Configurations according to specified filters, ordered by creation time in reverse chronological order (newest first).
- Parameters:
listManagedNotificationConfigurationsRequest-- Returns:
- Result of the ListManagedNotificationConfigurations operation returned by the service.
- See Also:
-
listManagedNotificationConfigurations
default ListManagedNotificationConfigurationsResponse listManagedNotificationConfigurations(Consumer<ListManagedNotificationConfigurationsRequest.Builder> listManagedNotificationConfigurationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of Managed Notification Configurations according to specified filters, ordered by creation time in reverse chronological order (newest first).
This is a convenience which creates an instance of the
ListManagedNotificationConfigurationsRequest.Builderavoiding the need to create one manually viaListManagedNotificationConfigurationsRequest.builder()- Parameters:
listManagedNotificationConfigurationsRequest- AConsumerthat will call methods onListManagedNotificationConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListManagedNotificationConfigurations operation returned by the service.
- See Also:
-
listManagedNotificationConfigurationsPaginator
default ListManagedNotificationConfigurationsIterable listManagedNotificationConfigurationsPaginator(ListManagedNotificationConfigurationsRequest listManagedNotificationConfigurationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listManagedNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListManagedNotificationConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationConfigurationsIterable responses = client.listManagedNotificationConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListManagedNotificationConfigurationsIterable responses = client .listManagedNotificationConfigurationsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListManagedNotificationConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationConfigurationsIterable responses = client.listManagedNotificationConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListManagedNotificationConfigurationsRequest)operation.- Parameters:
listManagedNotificationConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedNotificationConfigurationsPaginator
default ListManagedNotificationConfigurationsIterable listManagedNotificationConfigurationsPaginator(Consumer<ListManagedNotificationConfigurationsRequest.Builder> listManagedNotificationConfigurationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listManagedNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListManagedNotificationConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationConfigurationsIterable responses = client.listManagedNotificationConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListManagedNotificationConfigurationsIterable responses = client .listManagedNotificationConfigurationsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListManagedNotificationConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationConfigurationsIterable responses = client.listManagedNotificationConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListManagedNotificationConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListManagedNotificationConfigurationsRequest.Builderavoiding the need to create one manually viaListManagedNotificationConfigurationsRequest.builder()- Parameters:
listManagedNotificationConfigurationsRequest- AConsumerthat will call methods onListManagedNotificationConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedNotificationEvents
default ListManagedNotificationEventsResponse listManagedNotificationEvents(ListManagedNotificationEventsRequest listManagedNotificationEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of Managed Notification Events according to specified filters, ordered by creation time in reverse chronological order (newest first).
- Parameters:
listManagedNotificationEventsRequest-- Returns:
- Result of the ListManagedNotificationEvents operation returned by the service.
- See Also:
-
listManagedNotificationEvents
default ListManagedNotificationEventsResponse listManagedNotificationEvents(Consumer<ListManagedNotificationEventsRequest.Builder> listManagedNotificationEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of Managed Notification Events according to specified filters, ordered by creation time in reverse chronological order (newest first).
This is a convenience which creates an instance of the
ListManagedNotificationEventsRequest.Builderavoiding the need to create one manually viaListManagedNotificationEventsRequest.builder()- Parameters:
listManagedNotificationEventsRequest- AConsumerthat will call methods onListManagedNotificationEventsRequest.Builderto create a request.- Returns:
- Result of the ListManagedNotificationEvents operation returned by the service.
- See Also:
-
listManagedNotificationEventsPaginator
default ListManagedNotificationEventsIterable listManagedNotificationEventsPaginator(ListManagedNotificationEventsRequest listManagedNotificationEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listManagedNotificationEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationEventsIterable responses = client.listManagedNotificationEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListManagedNotificationEventsIterable responses = client .listManagedNotificationEventsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListManagedNotificationEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationEventsIterable responses = client.listManagedNotificationEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedNotificationEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationEventsRequest)operation.- Parameters:
listManagedNotificationEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedNotificationEventsPaginator
default ListManagedNotificationEventsIterable listManagedNotificationEventsPaginator(Consumer<ListManagedNotificationEventsRequest.Builder> listManagedNotificationEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listManagedNotificationEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationEventsIterable responses = client.listManagedNotificationEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListManagedNotificationEventsIterable responses = client .listManagedNotificationEventsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListManagedNotificationEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListManagedNotificationEventsIterable responses = client.listManagedNotificationEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedNotificationEvents(software.amazon.awssdk.services.notifications.model.ListManagedNotificationEventsRequest)operation.
This is a convenience which creates an instance of the
ListManagedNotificationEventsRequest.Builderavoiding the need to create one manually viaListManagedNotificationEventsRequest.builder()- Parameters:
listManagedNotificationEventsRequest- AConsumerthat will call methods onListManagedNotificationEventsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemberAccounts
default ListMemberAccountsResponse listMemberAccounts(ListMemberAccountsRequest listMemberAccountsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, NotificationsException Returns a list of member accounts associated with a notification configuration.
- Parameters:
listMemberAccountsRequest-- Returns:
- Result of the ListMemberAccounts operation returned by the service.
- See Also:
-
listMemberAccounts
default ListMemberAccountsResponse listMemberAccounts(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, NotificationsException Returns a list of member accounts associated with a notification configuration.
This is a convenience which creates an instance of the
ListMemberAccountsRequest.Builderavoiding the need to create one manually viaListMemberAccountsRequest.builder()- Parameters:
listMemberAccountsRequest- AConsumerthat will call methods onListMemberAccountsRequest.Builderto create a request.- Returns:
- Result of the ListMemberAccounts operation returned by the service.
- See Also:
-
listMemberAccountsPaginator
default ListMemberAccountsIterable listMemberAccountsPaginator(ListMemberAccountsRequest listMemberAccountsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listMemberAccounts(software.amazon.awssdk.services.notifications.model.ListMemberAccountsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListMemberAccountsIterable responses = client .listMemberAccountsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListMemberAccountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberAccounts(software.amazon.awssdk.services.notifications.model.ListMemberAccountsRequest)operation.- Parameters:
listMemberAccountsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemberAccountsPaginator
default ListMemberAccountsIterable listMemberAccountsPaginator(Consumer<ListMemberAccountsRequest.Builder> listMemberAccountsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listMemberAccounts(software.amazon.awssdk.services.notifications.model.ListMemberAccountsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListMemberAccountsIterable responses = client .listMemberAccountsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListMemberAccountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListMemberAccountsIterable responses = client.listMemberAccountsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberAccounts(software.amazon.awssdk.services.notifications.model.ListMemberAccountsRequest)operation.
This is a convenience which creates an instance of the
ListMemberAccountsRequest.Builderavoiding the need to create one manually viaListMemberAccountsRequest.builder()- Parameters:
listMemberAccountsRequest- AConsumerthat will call methods onListMemberAccountsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNotificationConfigurations
default ListNotificationConfigurationsResponse listNotificationConfigurations(ListNotificationConfigurationsRequest listNotificationConfigurationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of abbreviated
NotificationConfigurationsaccording to specified filters, in reverse chronological order (newest first).- Parameters:
listNotificationConfigurationsRequest-- Returns:
- Result of the ListNotificationConfigurations operation returned by the service.
- See Also:
-
listNotificationConfigurations
default ListNotificationConfigurationsResponse listNotificationConfigurations(Consumer<ListNotificationConfigurationsRequest.Builder> listNotificationConfigurationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of abbreviated
NotificationConfigurationsaccording to specified filters, in reverse chronological order (newest first).
This is a convenience which creates an instance of the
ListNotificationConfigurationsRequest.Builderavoiding the need to create one manually viaListNotificationConfigurationsRequest.builder()- Parameters:
listNotificationConfigurationsRequest- AConsumerthat will call methods onListNotificationConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListNotificationConfigurations operation returned by the service.
- See Also:
-
listNotificationConfigurationsPaginator
default ListNotificationConfigurationsIterable listNotificationConfigurationsPaginator(ListNotificationConfigurationsRequest listNotificationConfigurationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListNotificationConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListNotificationConfigurationsIterable responses = client.listNotificationConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListNotificationConfigurationsIterable responses = client .listNotificationConfigurationsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListNotificationConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListNotificationConfigurationsIterable responses = client.listNotificationConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListNotificationConfigurationsRequest)operation.- Parameters:
listNotificationConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNotificationConfigurationsPaginator
default ListNotificationConfigurationsIterable listNotificationConfigurationsPaginator(Consumer<ListNotificationConfigurationsRequest.Builder> listNotificationConfigurationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListNotificationConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListNotificationConfigurationsIterable responses = client.listNotificationConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListNotificationConfigurationsIterable responses = client .listNotificationConfigurationsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListNotificationConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListNotificationConfigurationsIterable responses = client.listNotificationConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationConfigurations(software.amazon.awssdk.services.notifications.model.ListNotificationConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListNotificationConfigurationsRequest.Builderavoiding the need to create one manually viaListNotificationConfigurationsRequest.builder()- Parameters:
listNotificationConfigurationsRequest- AConsumerthat will call methods onListNotificationConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNotificationEvents
default ListNotificationEventsResponse listNotificationEvents(ListNotificationEventsRequest listNotificationEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of
NotificationEventsaccording to specified filters, in reverse chronological order (newest first).User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. ListNotificationEvents only returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see Notification hubs in the Amazon Web Services User Notifications User Guide.
- Parameters:
listNotificationEventsRequest-- Returns:
- Result of the ListNotificationEvents operation returned by the service.
- See Also:
-
listNotificationEvents
default ListNotificationEventsResponse listNotificationEvents(Consumer<ListNotificationEventsRequest.Builder> listNotificationEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of
NotificationEventsaccording to specified filters, in reverse chronological order (newest first).User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. ListNotificationEvents only returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see Notification hubs in the Amazon Web Services User Notifications User Guide.
This is a convenience which creates an instance of the
ListNotificationEventsRequest.Builderavoiding the need to create one manually viaListNotificationEventsRequest.builder()- Parameters:
listNotificationEventsRequest- AConsumerthat will call methods onListNotificationEventsRequest.Builderto create a request.- Returns:
- Result of the ListNotificationEvents operation returned by the service.
- See Also:
-
listNotificationEventsPaginator
default ListNotificationEventsIterable listNotificationEventsPaginator(ListNotificationEventsRequest listNotificationEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listNotificationEvents(software.amazon.awssdk.services.notifications.model.ListNotificationEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListNotificationEventsIterable responses = client.listNotificationEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListNotificationEventsIterable responses = client .listNotificationEventsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListNotificationEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListNotificationEventsIterable responses = client.listNotificationEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationEvents(software.amazon.awssdk.services.notifications.model.ListNotificationEventsRequest)operation.- Parameters:
listNotificationEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNotificationEventsPaginator
default ListNotificationEventsIterable listNotificationEventsPaginator(Consumer<ListNotificationEventsRequest.Builder> listNotificationEventsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listNotificationEvents(software.amazon.awssdk.services.notifications.model.ListNotificationEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListNotificationEventsIterable responses = client.listNotificationEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListNotificationEventsIterable responses = client .listNotificationEventsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListNotificationEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListNotificationEventsIterable responses = client.listNotificationEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationEvents(software.amazon.awssdk.services.notifications.model.ListNotificationEventsRequest)operation.
This is a convenience which creates an instance of the
ListNotificationEventsRequest.Builderavoiding the need to create one manually viaListNotificationEventsRequest.builder()- Parameters:
listNotificationEventsRequest- AConsumerthat will call methods onListNotificationEventsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNotificationHubs
default ListNotificationHubsResponse listNotificationHubs(ListNotificationHubsRequest listNotificationHubsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of
NotificationHubs.- Parameters:
listNotificationHubsRequest-- Returns:
- Result of the ListNotificationHubs operation returned by the service.
- See Also:
-
listNotificationHubs
default ListNotificationHubsResponse listNotificationHubs(Consumer<ListNotificationHubsRequest.Builder> listNotificationHubsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of
NotificationHubs.
This is a convenience which creates an instance of the
ListNotificationHubsRequest.Builderavoiding the need to create one manually viaListNotificationHubsRequest.builder()- Parameters:
listNotificationHubsRequest- AConsumerthat will call methods onListNotificationHubsRequest.Builderto create a request.- Returns:
- Result of the ListNotificationHubs operation returned by the service.
- See Also:
-
listNotificationHubsPaginator
default ListNotificationHubsIterable listNotificationHubsPaginator(ListNotificationHubsRequest listNotificationHubsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listNotificationHubs(software.amazon.awssdk.services.notifications.model.ListNotificationHubsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListNotificationHubsIterable responses = client.listNotificationHubsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListNotificationHubsIterable responses = client .listNotificationHubsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListNotificationHubsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListNotificationHubsIterable responses = client.listNotificationHubsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationHubs(software.amazon.awssdk.services.notifications.model.ListNotificationHubsRequest)operation.- Parameters:
listNotificationHubsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNotificationHubsPaginator
default ListNotificationHubsIterable listNotificationHubsPaginator(Consumer<ListNotificationHubsRequest.Builder> listNotificationHubsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listNotificationHubs(software.amazon.awssdk.services.notifications.model.ListNotificationHubsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListNotificationHubsIterable responses = client.listNotificationHubsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListNotificationHubsIterable responses = client .listNotificationHubsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListNotificationHubsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListNotificationHubsIterable responses = client.listNotificationHubsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotificationHubs(software.amazon.awssdk.services.notifications.model.ListNotificationHubsRequest)operation.
This is a convenience which creates an instance of the
ListNotificationHubsRequest.Builderavoiding the need to create one manually viaListNotificationHubsRequest.builder()- Parameters:
listNotificationHubsRequest- AConsumerthat will call methods onListNotificationHubsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrganizationalUnits
default ListOrganizationalUnitsResponse listOrganizationalUnits(ListOrganizationalUnitsRequest listOrganizationalUnitsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of organizational units associated with a notification configuration.
- Parameters:
listOrganizationalUnitsRequest-- Returns:
- Result of the ListOrganizationalUnits operation returned by the service.
- See Also:
-
listOrganizationalUnits
default ListOrganizationalUnitsResponse listOrganizationalUnits(Consumer<ListOrganizationalUnitsRequest.Builder> listOrganizationalUnitsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of organizational units associated with a notification configuration.
This is a convenience which creates an instance of the
ListOrganizationalUnitsRequest.Builderavoiding the need to create one manually viaListOrganizationalUnitsRequest.builder()- Parameters:
listOrganizationalUnitsRequest- AConsumerthat will call methods onListOrganizationalUnitsRequest.Builderto create a request.- Returns:
- Result of the ListOrganizationalUnits operation returned by the service.
- See Also:
-
listOrganizationalUnitsPaginator
default ListOrganizationalUnitsIterable listOrganizationalUnitsPaginator(ListOrganizationalUnitsRequest listOrganizationalUnitsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listOrganizationalUnits(software.amazon.awssdk.services.notifications.model.ListOrganizationalUnitsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListOrganizationalUnitsIterable responses = client.listOrganizationalUnitsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListOrganizationalUnitsIterable responses = client .listOrganizationalUnitsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListOrganizationalUnitsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListOrganizationalUnitsIterable responses = client.listOrganizationalUnitsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOrganizationalUnits(software.amazon.awssdk.services.notifications.model.ListOrganizationalUnitsRequest)operation.- Parameters:
listOrganizationalUnitsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrganizationalUnitsPaginator
default ListOrganizationalUnitsIterable listOrganizationalUnitsPaginator(Consumer<ListOrganizationalUnitsRequest.Builder> listOrganizationalUnitsRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException This is a variant of
listOrganizationalUnits(software.amazon.awssdk.services.notifications.model.ListOrganizationalUnitsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.notifications.paginators.ListOrganizationalUnitsIterable responses = client.listOrganizationalUnitsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.notifications.paginators.ListOrganizationalUnitsIterable responses = client .listOrganizationalUnitsPaginator(request); for (software.amazon.awssdk.services.notifications.model.ListOrganizationalUnitsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.notifications.paginators.ListOrganizationalUnitsIterable responses = client.listOrganizationalUnitsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOrganizationalUnits(software.amazon.awssdk.services.notifications.model.ListOrganizationalUnitsRequest)operation.
This is a convenience which creates an instance of the
ListOrganizationalUnitsRequest.Builderavoiding the need to create one manually viaListOrganizationalUnitsRequest.builder()- Parameters:
listOrganizationalUnitsRequest- AConsumerthat will call methods onListOrganizationalUnitsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of tags for a specified Amazon Resource Name (ARN).
For more information, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
This is only supported for
NotificationConfigurations.- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Returns a list of tags for a specified Amazon Resource Name (ARN).
For more information, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
This is only supported for
NotificationConfigurations.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
registerNotificationHub
default RegisterNotificationHubResponse registerNotificationHub(RegisterNotificationHubRequest registerNotificationHubRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Registers a
NotificationConfigurationin the specified Region.There is a maximum of one
NotificationConfigurationper Region. You can have a maximum of 3NotificationHubresources at a time.- Parameters:
registerNotificationHubRequest-- Returns:
- Result of the RegisterNotificationHub operation returned by the service.
- See Also:
-
registerNotificationHub
default RegisterNotificationHubResponse registerNotificationHub(Consumer<RegisterNotificationHubRequest.Builder> registerNotificationHubRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, InternalServerException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Registers a
NotificationConfigurationin the specified Region.There is a maximum of one
NotificationConfigurationper Region. You can have a maximum of 3NotificationHubresources at a time.
This is a convenience which creates an instance of the
RegisterNotificationHubRequest.Builderavoiding the need to create one manually viaRegisterNotificationHubRequest.builder()- Parameters:
registerNotificationHubRequest- AConsumerthat will call methods onRegisterNotificationHubRequest.Builderto create a request.- Returns:
- Result of the RegisterNotificationHub operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Tags the resource with a tag key and value.
For more information, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
This is only supported for
NotificationConfigurations.- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Tags the resource with a tag key and value.
For more information, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
This is only supported for
NotificationConfigurations.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Untags a resource with a specified Amazon Resource Name (ARN).
For more information, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Untags a resource with a specified Amazon Resource Name (ARN).
For more information, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateEventRule
default UpdateEventRuleResponse updateEventRule(UpdateEventRuleRequest updateEventRuleRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Updates an existing
EventRule.- Parameters:
updateEventRuleRequest-- Returns:
- Result of the UpdateEventRule operation returned by the service.
- See Also:
-
updateEventRule
default UpdateEventRuleResponse updateEventRule(Consumer<UpdateEventRuleRequest.Builder> updateEventRuleRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Updates an existing
EventRule.
This is a convenience which creates an instance of the
UpdateEventRuleRequest.Builderavoiding the need to create one manually viaUpdateEventRuleRequest.builder()- Parameters:
updateEventRuleRequest- AConsumerthat will call methods onUpdateEventRuleRequest.Builderto create a request.- Returns:
- Result of the UpdateEventRule operation returned by the service.
- See Also:
-
updateNotificationConfiguration
default UpdateNotificationConfigurationResponse updateNotificationConfiguration(UpdateNotificationConfigurationRequest updateNotificationConfigurationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Updates a
NotificationConfiguration.- Parameters:
updateNotificationConfigurationRequest-- Returns:
- Result of the UpdateNotificationConfiguration operation returned by the service.
- See Also:
-
updateNotificationConfiguration
default UpdateNotificationConfigurationResponse updateNotificationConfiguration(Consumer<UpdateNotificationConfigurationRequest.Builder> updateNotificationConfigurationRequest) throws AccessDeniedException, ValidationException, InternalServerException, ConflictException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, NotificationsException Updates a
NotificationConfiguration.
This is a convenience which creates an instance of the
UpdateNotificationConfigurationRequest.Builderavoiding the need to create one manually viaUpdateNotificationConfigurationRequest.builder()- Parameters:
updateNotificationConfigurationRequest- AConsumerthat will call methods onUpdateNotificationConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateNotificationConfiguration operation returned by the service.
- See Also:
-
create
Create aNotificationsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aNotificationsClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-