get_campaign_activities
async
¶
get_campaign_activities(
application_id: __string,
campaign_id: __string,
*,
config_overrides: Optional[AsyncPinpointClientConfig] = None,
page_size: Optional[__string] = None,
token: Optional[__string] = None,
) -> GetCampaignActivitiesResponse
Retrieves information about all the activities for a campaign.
Parameters:
-
application_id(__string) –The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
-
campaign_id(__string) –The unique identifier for the campaign.
-
page_size(Optional[__string], default:None) –The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
-
token(Optional[__string], default:None) –The NextToken string that specifies which page of results to return in a paginated response.
Raises:
-
BadRequestException–Provides information about an API request or response.
-
ForbiddenException–Provides information about an API request or response.
-
InternalServerErrorException–Provides information about an API request or response.
-
MethodNotAllowedException–Provides information about an API request or response.
-
NotFoundException–Provides information about an API request or response.
-
PayloadTooLargeException–Provides information about an API request or response.
-
TooManyRequestsException–Provides information about an API request or response.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_pinpoint/_services/async_pinpoint.py
2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 | |