auth0 5.7.0 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/management/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +67 -62
- package/dist/cjs/management/api/errors/GoneError.d.ts +5 -0
- package/dist/cjs/management/api/errors/GoneError.js +54 -0
- package/dist/cjs/management/api/errors/index.d.ts +1 -0
- package/dist/cjs/management/api/errors/index.js +1 -0
- package/dist/cjs/management/api/requests/requests.d.ts +56 -10
- package/dist/cjs/management/api/resources/actions/client/Client.js +15 -7
- package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +15 -7
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/branding/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.js +11 -7
- package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.js +5 -5
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/clients/client/Client.js +16 -8
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +5 -5
- package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +11 -7
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/connections/client/Client.js +15 -6
- package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +16 -8
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/customDomains/client/Client.js +13 -9
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +8 -4
- package/dist/cjs/management/api/resources/eventStreams/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/eventStreams/resources/redeliveries/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/events/client/Client.d.ts +18 -0
- package/dist/cjs/management/api/resources/events/client/Client.js +135 -0
- package/dist/cjs/management/api/resources/events/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/events/client/index.js +2 -0
- package/dist/cjs/management/api/resources/events/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/events/index.js +17 -0
- package/dist/cjs/management/api/resources/flows/client/Client.d.ts +4 -1
- package/dist/cjs/management/api/resources/flows/client/Client.js +17 -6
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +3 -1
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +14 -4
- package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/forms/client/Client.d.ts +5 -2
- package/dist/cjs/management/api/resources/forms/client/Client.js +18 -7
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +10 -4
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.js +8 -8
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +12 -12
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.js +6 -6
- package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/hooks/client/Client.js +13 -5
- package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/jobs/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.js +11 -7
- package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/logStreams/client/Client.d.ts +465 -300
- package/dist/cjs/management/api/resources/logStreams/client/Client.js +470 -305
- package/dist/cjs/management/api/resources/logs/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/networkAcls/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/organizations/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +12 -4
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/prompts/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +8 -4
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +17 -0
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +71 -4
- package/dist/cjs/management/api/resources/resourceServers/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/resourceServers/client/Client.js +14 -5
- package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/roles/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/rules/client/Client.js +13 -5
- package/dist/cjs/management/api/resources/rulesConfigs/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/sessions/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/stats/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/supplementalSignals/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/tickets/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +12 -8
- package/dist/cjs/management/api/resources/userBlocks/client/Client.js +16 -4
- package/dist/cjs/management/api/resources/userGrants/client/Client.js +11 -3
- package/dist/cjs/management/api/resources/users/client/Client.js +20 -8
- package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.js +11 -7
- package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/users/resources/logs/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.js +10 -6
- package/dist/cjs/management/api/types/types.d.ts +3481 -148
- package/dist/cjs/management/api/types/types.js +623 -15
- package/dist/cjs/management/core/fetcher/Fetcher.d.ts +6 -0
- package/dist/cjs/management/core/fetcher/Fetcher.js +9 -8
- package/dist/cjs/management/core/index.d.ts +1 -0
- package/dist/cjs/management/core/index.js +1 -0
- package/dist/cjs/management/core/stream/Stream.d.ts +56 -0
- package/dist/cjs/management/core/stream/Stream.js +267 -0
- package/dist/cjs/management/core/stream/index.d.ts +1 -0
- package/dist/cjs/management/core/stream/index.js +5 -0
- package/dist/cjs/management/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/management/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/management/core/url/index.d.ts +1 -0
- package/dist/cjs/management/core/url/index.js +3 -1
- package/dist/cjs/management/core/url/qs.d.ts +2 -1
- package/dist/cjs/management/core/url/qs.js +24 -12
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/errors/GoneError.d.mts +5 -0
- package/dist/esm/management/api/errors/GoneError.mjs +17 -0
- package/dist/esm/management/api/errors/index.d.mts +1 -0
- package/dist/esm/management/api/errors/index.mjs +1 -0
- package/dist/esm/management/api/requests/requests.d.mts +56 -10
- package/dist/esm/management/api/resources/actions/client/Client.mjs +15 -7
- package/dist/esm/management/api/resources/actions/resources/executions/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +15 -7
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/branding/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.mjs +11 -7
- package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/branding/resources/themes/client/Client.mjs +5 -5
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/clients/client/Client.mjs +16 -8
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +5 -5
- package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +11 -7
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/connections/client/Client.mjs +15 -6
- package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +16 -8
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/customDomains/client/Client.mjs +13 -9
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +8 -4
- package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/events/client/Client.d.mts +18 -0
- package/dist/esm/management/api/resources/events/client/Client.mjs +98 -0
- package/dist/esm/management/api/resources/events/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/events/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/events/index.d.mts +1 -0
- package/dist/esm/management/api/resources/events/index.mjs +1 -0
- package/dist/esm/management/api/resources/flows/client/Client.d.mts +4 -1
- package/dist/esm/management/api/resources/flows/client/Client.mjs +17 -6
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +3 -1
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +14 -4
- package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/forms/client/Client.d.mts +5 -2
- package/dist/esm/management/api/resources/forms/client/Client.mjs +18 -7
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +10 -4
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.mjs +8 -8
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +12 -12
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.mjs +6 -6
- package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/hooks/client/Client.mjs +13 -5
- package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/jobs/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.mjs +11 -7
- package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/logStreams/client/Client.d.mts +465 -300
- package/dist/esm/management/api/resources/logStreams/client/Client.mjs +470 -305
- package/dist/esm/management/api/resources/logs/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +12 -4
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/prompts/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +8 -4
- package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +17 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +71 -4
- package/dist/esm/management/api/resources/resourceServers/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/resourceServers/client/Client.mjs +14 -5
- package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/roles/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/rules/client/Client.mjs +13 -5
- package/dist/esm/management/api/resources/rulesConfigs/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/sessions/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/stats/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/supplementalSignals/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/tickets/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +12 -8
- package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +16 -4
- package/dist/esm/management/api/resources/userGrants/client/Client.mjs +11 -3
- package/dist/esm/management/api/resources/users/client/Client.mjs +20 -8
- package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.mjs +11 -7
- package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/users/resources/logs/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.mjs +10 -6
- package/dist/esm/management/api/types/types.d.mts +3481 -148
- package/dist/esm/management/api/types/types.mjs +610 -5
- package/dist/esm/management/core/fetcher/Fetcher.d.mts +6 -0
- package/dist/esm/management/core/fetcher/Fetcher.mjs +9 -8
- package/dist/esm/management/core/index.d.mts +1 -0
- package/dist/esm/management/core/index.mjs +1 -0
- package/dist/esm/management/core/stream/Stream.d.mts +56 -0
- package/dist/esm/management/core/stream/Stream.mjs +262 -0
- package/dist/esm/management/core/stream/index.d.mts +1 -0
- package/dist/esm/management/core/stream/index.mjs +1 -0
- package/dist/esm/management/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/management/core/url/QueryStringBuilder.mjs +80 -0
- package/dist/esm/management/core/url/index.d.mts +1 -0
- package/dist/esm/management/core/url/index.mjs +1 -0
- package/dist/esm/management/core/url/qs.d.mts +2 -1
- package/dist/esm/management/core/url/qs.mjs +24 -12
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +668 -331
|
@@ -11,72 +11,77 @@ export declare class LogStreamsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<LogStreamsClient.Options>;
|
|
12
12
|
constructor(options: LogStreamsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Retrieve details on
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
14
|
+
* Retrieve details on [log streams](https://auth0.com/docs/logs/streams).
|
|
15
|
+
*
|
|
16
|
+
* **Sample Response**
|
|
17
|
+
*
|
|
18
|
+
* ```json
|
|
19
|
+
* [{
|
|
20
|
+
* "id": "string",
|
|
21
|
+
* "name": "string",
|
|
22
|
+
* "type": "eventbridge",
|
|
23
|
+
* "status": "active|paused|suspended",
|
|
24
|
+
* "sink": {
|
|
25
|
+
* "awsAccountId": "string",
|
|
26
|
+
* "awsRegion": "string",
|
|
27
|
+
* "awsPartnerEventSource": "string"
|
|
28
|
+
* }
|
|
25
29
|
* }, {
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
30
|
+
* "id": "string",
|
|
31
|
+
* "name": "string",
|
|
32
|
+
* "type": "http",
|
|
33
|
+
* "status": "active|paused|suspended",
|
|
34
|
+
* "sink": {
|
|
35
|
+
* "httpContentFormat": "JSONLINES|JSONARRAY",
|
|
36
|
+
* "httpContentType": "string",
|
|
37
|
+
* "httpEndpoint": "string",
|
|
38
|
+
* "httpAuthorization": "string"
|
|
39
|
+
* }
|
|
36
40
|
* },
|
|
37
41
|
* {
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
42
|
+
* "id": "string",
|
|
43
|
+
* "name": "string",
|
|
44
|
+
* "type": "eventgrid",
|
|
45
|
+
* "status": "active|paused|suspended",
|
|
46
|
+
* "sink": {
|
|
47
|
+
* "azureSubscriptionId": "string",
|
|
48
|
+
* "azureResourceGroup": "string",
|
|
49
|
+
* "azureRegion": "string",
|
|
50
|
+
* "azurePartnerTopic": "string"
|
|
51
|
+
* }
|
|
48
52
|
* },
|
|
49
53
|
* {
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
54
|
+
* "id": "string",
|
|
55
|
+
* "name": "string",
|
|
56
|
+
* "type": "splunk",
|
|
57
|
+
* "status": "active|paused|suspended",
|
|
58
|
+
* "sink": {
|
|
59
|
+
* "splunkDomain": "string",
|
|
60
|
+
* "splunkToken": "string",
|
|
61
|
+
* "splunkPort": "string",
|
|
62
|
+
* "splunkSecure": "boolean"
|
|
63
|
+
* }
|
|
60
64
|
* },
|
|
61
65
|
* {
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
66
|
+
* "id": "string",
|
|
67
|
+
* "name": "string",
|
|
68
|
+
* "type": "sumo",
|
|
69
|
+
* "status": "active|paused|suspended",
|
|
70
|
+
* "sink": {
|
|
71
|
+
* "sumoSourceAddress": "string"
|
|
72
|
+
* }
|
|
69
73
|
* },
|
|
70
74
|
* {
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* }]
|
|
75
|
+
* "id": "string",
|
|
76
|
+
* "name": "string",
|
|
77
|
+
* "type": "datadog",
|
|
78
|
+
* "status": "active|paused|suspended",
|
|
79
|
+
* "sink": {
|
|
80
|
+
* "datadogRegion": "string",
|
|
81
|
+
* "datadogApiKey": "string"
|
|
82
|
+
* }
|
|
83
|
+
* }]
|
|
84
|
+
* ```
|
|
80
85
|
*
|
|
81
86
|
* @param {LogStreamsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
82
87
|
*
|
|
@@ -92,131 +97,202 @@ export declare class LogStreamsClient {
|
|
|
92
97
|
private __list;
|
|
93
98
|
/**
|
|
94
99
|
* Create a log stream.
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* Request
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
100
|
+
*
|
|
101
|
+
* **Log Stream Types**
|
|
102
|
+
*
|
|
103
|
+
* The `type` of log stream being created determines the properties required in the `sink` payload.
|
|
104
|
+
*
|
|
105
|
+
* **HTTP Stream**
|
|
106
|
+
*
|
|
107
|
+
* For an `http` Stream, the `sink` properties are listed in the payload below.
|
|
108
|
+
*
|
|
109
|
+
* **Request:**
|
|
110
|
+
* ```json
|
|
111
|
+
* {
|
|
112
|
+
* "name": "string",
|
|
113
|
+
* "type": "http",
|
|
114
|
+
* "sink": {
|
|
115
|
+
* "httpEndpoint": "string",
|
|
116
|
+
* "httpContentType": "string",
|
|
117
|
+
* "httpContentFormat": "JSONLINES|JSONARRAY",
|
|
118
|
+
* "httpAuthorization": "string"
|
|
119
|
+
* }
|
|
120
|
+
* }
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* **Response:**
|
|
124
|
+
* ```json
|
|
125
|
+
* {
|
|
126
|
+
* "id": "string",
|
|
127
|
+
* "name": "string",
|
|
128
|
+
* "type": "http",
|
|
129
|
+
* "status": "active",
|
|
130
|
+
* "sink": {
|
|
131
|
+
* "httpEndpoint": "string",
|
|
132
|
+
* "httpContentType": "string",
|
|
133
|
+
* "httpContentFormat": "JSONLINES|JSONARRAY",
|
|
134
|
+
* "httpAuthorization": "string"
|
|
135
|
+
* }
|
|
136
|
+
* }
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* **Amazon EventBridge Stream**
|
|
140
|
+
*
|
|
141
|
+
* For an `eventbridge` Stream, the `sink` properties are listed in the payload below.
|
|
142
|
+
*
|
|
143
|
+
* **Request:**
|
|
144
|
+
* ```json
|
|
145
|
+
* {
|
|
146
|
+
* "name": "string",
|
|
147
|
+
* "type": "eventbridge",
|
|
148
|
+
* "sink": {
|
|
149
|
+
* "awsRegion": "string",
|
|
150
|
+
* "awsAccountId": "string"
|
|
151
|
+
* }
|
|
152
|
+
* }
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
155
|
+
* The response will include an additional field `awsPartnerEventSource` in the `sink`:
|
|
156
|
+
*
|
|
157
|
+
* **Response:**
|
|
158
|
+
* ```json
|
|
159
|
+
* {
|
|
160
|
+
* "id": "string",
|
|
161
|
+
* "name": "string",
|
|
162
|
+
* "type": "eventbridge",
|
|
163
|
+
* "status": "active",
|
|
164
|
+
* "sink": {
|
|
165
|
+
* "awsAccountId": "string",
|
|
166
|
+
* "awsRegion": "string",
|
|
167
|
+
* "awsPartnerEventSource": "string"
|
|
168
|
+
* }
|
|
169
|
+
* }
|
|
170
|
+
* ```
|
|
171
|
+
*
|
|
172
|
+
* **Azure Event Grid Stream**
|
|
173
|
+
*
|
|
174
|
+
* For an `Azure Event Grid` Stream, the `sink` properties are listed in the payload below.
|
|
175
|
+
*
|
|
176
|
+
* **Request:**
|
|
177
|
+
* ```json
|
|
178
|
+
* {
|
|
179
|
+
* "name": "string",
|
|
180
|
+
* "type": "eventgrid",
|
|
181
|
+
* "sink": {
|
|
182
|
+
* "azureSubscriptionId": "string",
|
|
183
|
+
* "azureResourceGroup": "string",
|
|
184
|
+
* "azureRegion": "string"
|
|
185
|
+
* }
|
|
186
|
+
* }
|
|
187
|
+
* ```
|
|
188
|
+
*
|
|
189
|
+
* **Response:**
|
|
190
|
+
* ```json
|
|
191
|
+
* {
|
|
192
|
+
* "id": "string",
|
|
193
|
+
* "name": "string",
|
|
194
|
+
* "type": "http",
|
|
195
|
+
* "status": "active",
|
|
196
|
+
* "sink": {
|
|
197
|
+
* "azureSubscriptionId": "string",
|
|
198
|
+
* "azureResourceGroup": "string",
|
|
199
|
+
* "azureRegion": "string",
|
|
200
|
+
* "azurePartnerTopic": "string"
|
|
201
|
+
* }
|
|
202
|
+
* }
|
|
203
|
+
* ```
|
|
204
|
+
*
|
|
205
|
+
* **Datadog Stream**
|
|
206
|
+
*
|
|
207
|
+
* For a `Datadog` Stream, the `sink` properties are listed in the payload below.
|
|
208
|
+
*
|
|
209
|
+
* **Request:**
|
|
210
|
+
* ```json
|
|
211
|
+
* {
|
|
212
|
+
* "name": "string",
|
|
213
|
+
* "type": "datadog",
|
|
214
|
+
* "sink": {
|
|
215
|
+
* "datadogRegion": "string",
|
|
216
|
+
* "datadogApiKey": "string"
|
|
217
|
+
* }
|
|
218
|
+
* }
|
|
219
|
+
* ```
|
|
220
|
+
*
|
|
221
|
+
* **Response:**
|
|
222
|
+
* ```json
|
|
223
|
+
* {
|
|
224
|
+
* "id": "string",
|
|
225
|
+
* "name": "string",
|
|
226
|
+
* "type": "datadog",
|
|
227
|
+
* "status": "active",
|
|
228
|
+
* "sink": {
|
|
229
|
+
* "datadogRegion": "string",
|
|
230
|
+
* "datadogApiKey": "string"
|
|
231
|
+
* }
|
|
232
|
+
* }
|
|
233
|
+
* ```
|
|
234
|
+
*
|
|
235
|
+
* **Splunk Stream**
|
|
236
|
+
*
|
|
237
|
+
* For a `Splunk` Stream, the `sink` properties are listed in the payload below.
|
|
238
|
+
*
|
|
239
|
+
* **Request:**
|
|
240
|
+
* ```json
|
|
241
|
+
* {
|
|
242
|
+
* "name": "string",
|
|
243
|
+
* "type": "splunk",
|
|
244
|
+
* "sink": {
|
|
245
|
+
* "splunkDomain": "string",
|
|
246
|
+
* "splunkToken": "string",
|
|
247
|
+
* "splunkPort": "string",
|
|
248
|
+
* "splunkSecure": "boolean"
|
|
249
|
+
* }
|
|
250
|
+
* }
|
|
251
|
+
* ```
|
|
252
|
+
*
|
|
253
|
+
* **Response:**
|
|
254
|
+
* ```json
|
|
255
|
+
* {
|
|
256
|
+
* "id": "string",
|
|
257
|
+
* "name": "string",
|
|
258
|
+
* "type": "splunk",
|
|
259
|
+
* "status": "active",
|
|
260
|
+
* "sink": {
|
|
261
|
+
* "splunkDomain": "string",
|
|
262
|
+
* "splunkToken": "string",
|
|
263
|
+
* "splunkPort": "string",
|
|
264
|
+
* "splunkSecure": "boolean"
|
|
265
|
+
* }
|
|
266
|
+
* }
|
|
267
|
+
* ```
|
|
268
|
+
*
|
|
269
|
+
* **Sumo Logic Stream**
|
|
270
|
+
*
|
|
271
|
+
* For a `Sumo Logic` Stream, the `sink` properties are listed in the payload below.
|
|
272
|
+
*
|
|
273
|
+
* **Request:**
|
|
274
|
+
* ```json
|
|
275
|
+
* {
|
|
276
|
+
* "name": "string",
|
|
277
|
+
* "type": "sumo",
|
|
278
|
+
* "sink": {
|
|
279
|
+
* "sumoSourceAddress": "string"
|
|
280
|
+
* }
|
|
281
|
+
* }
|
|
282
|
+
* ```
|
|
283
|
+
*
|
|
284
|
+
* **Response:**
|
|
285
|
+
* ```json
|
|
286
|
+
* {
|
|
287
|
+
* "id": "string",
|
|
288
|
+
* "name": "string",
|
|
289
|
+
* "type": "sumo",
|
|
290
|
+
* "status": "active",
|
|
291
|
+
* "sink": {
|
|
292
|
+
* "sumoSourceAddress": "string"
|
|
293
|
+
* }
|
|
294
|
+
* }
|
|
295
|
+
* ```
|
|
220
296
|
*
|
|
221
297
|
* @param {Management.CreateLogStreamRequestContent} request
|
|
222
298
|
* @param {LogStreamsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -239,107 +315,157 @@ export declare class LogStreamsClient {
|
|
|
239
315
|
private __create;
|
|
240
316
|
/**
|
|
241
317
|
* Retrieve a log stream configuration and status.
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
*
|
|
330
|
-
*
|
|
331
|
-
*
|
|
332
|
-
*
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
318
|
+
*
|
|
319
|
+
* **Sample responses**
|
|
320
|
+
*
|
|
321
|
+
* **Amazon EventBridge Log Stream**
|
|
322
|
+
*
|
|
323
|
+
* ```json
|
|
324
|
+
* {
|
|
325
|
+
* "id": "string",
|
|
326
|
+
* "name": "string",
|
|
327
|
+
* "type": "eventbridge",
|
|
328
|
+
* "status": "active|paused|suspended",
|
|
329
|
+
* "sink": {
|
|
330
|
+
* "awsAccountId": "string",
|
|
331
|
+
* "awsRegion": "string",
|
|
332
|
+
* "awsPartnerEventSource": "string"
|
|
333
|
+
* }
|
|
334
|
+
* }
|
|
335
|
+
* ```
|
|
336
|
+
*
|
|
337
|
+
* **HTTP Log Stream**
|
|
338
|
+
*
|
|
339
|
+
* ```json
|
|
340
|
+
* {
|
|
341
|
+
* "id": "string",
|
|
342
|
+
* "name": "string",
|
|
343
|
+
* "type": "http",
|
|
344
|
+
* "status": "active|paused|suspended",
|
|
345
|
+
* "sink": {
|
|
346
|
+
* "httpContentFormat": "JSONLINES|JSONARRAY",
|
|
347
|
+
* "httpContentType": "string",
|
|
348
|
+
* "httpEndpoint": "string",
|
|
349
|
+
* "httpAuthorization": "string"
|
|
350
|
+
* }
|
|
351
|
+
* }
|
|
352
|
+
* ```
|
|
353
|
+
*
|
|
354
|
+
* **Datadog Log Stream**
|
|
355
|
+
*
|
|
356
|
+
* ```json
|
|
357
|
+
* {
|
|
358
|
+
* "id": "string",
|
|
359
|
+
* "name": "string",
|
|
360
|
+
* "type": "datadog",
|
|
361
|
+
* "status": "active|paused|suspended",
|
|
362
|
+
* "sink": {
|
|
363
|
+
* "datadogRegion": "string",
|
|
364
|
+
* "datadogApiKey": "string"
|
|
365
|
+
* }
|
|
366
|
+
* }
|
|
367
|
+
* ```
|
|
368
|
+
*
|
|
369
|
+
* **Mixpanel**
|
|
370
|
+
*
|
|
371
|
+
* **Request:**
|
|
372
|
+
*
|
|
373
|
+
* ```json
|
|
374
|
+
* {
|
|
375
|
+
* "name": "string",
|
|
376
|
+
* "type": "mixpanel",
|
|
377
|
+
* "sink": {
|
|
378
|
+
* "mixpanelRegion": "string",
|
|
379
|
+
* "mixpanelProjectId": "string",
|
|
380
|
+
* "mixpanelServiceAccountUsername": "string",
|
|
381
|
+
* "mixpanelServiceAccountPassword": "string"
|
|
382
|
+
* }
|
|
383
|
+
* }
|
|
384
|
+
* ```
|
|
385
|
+
*
|
|
386
|
+
* **Response:**
|
|
387
|
+
*
|
|
388
|
+
* ```json
|
|
389
|
+
* {
|
|
390
|
+
* "id": "string",
|
|
391
|
+
* "name": "string",
|
|
392
|
+
* "type": "mixpanel",
|
|
393
|
+
* "status": "active",
|
|
394
|
+
* "sink": {
|
|
395
|
+
* "mixpanelRegion": "string",
|
|
396
|
+
* "mixpanelProjectId": "string",
|
|
397
|
+
* "mixpanelServiceAccountUsername": "string",
|
|
398
|
+
* "mixpanelServiceAccountPassword": "string"
|
|
399
|
+
* }
|
|
400
|
+
* }
|
|
401
|
+
* ```
|
|
402
|
+
*
|
|
403
|
+
* **Segment**
|
|
404
|
+
*
|
|
405
|
+
* **Request:**
|
|
406
|
+
*
|
|
407
|
+
* ```json
|
|
408
|
+
* {
|
|
409
|
+
* "name": "string",
|
|
410
|
+
* "type": "segment",
|
|
411
|
+
* "sink": {
|
|
412
|
+
* "segmentWriteKey": "string"
|
|
413
|
+
* }
|
|
414
|
+
* }
|
|
415
|
+
* ```
|
|
416
|
+
*
|
|
417
|
+
* **Response:**
|
|
418
|
+
*
|
|
419
|
+
* ```json
|
|
420
|
+
* {
|
|
421
|
+
* "id": "string",
|
|
422
|
+
* "name": "string",
|
|
423
|
+
* "type": "segment",
|
|
424
|
+
* "status": "active",
|
|
425
|
+
* "sink": {
|
|
426
|
+
* "segmentWriteKey": "string"
|
|
427
|
+
* }
|
|
428
|
+
* }
|
|
429
|
+
* ```
|
|
430
|
+
*
|
|
431
|
+
* **Splunk Log Stream**
|
|
432
|
+
*
|
|
433
|
+
* ```json
|
|
434
|
+
* {
|
|
435
|
+
* "id": "string",
|
|
436
|
+
* "name": "string",
|
|
437
|
+
* "type": "splunk",
|
|
438
|
+
* "status": "active|paused|suspended",
|
|
439
|
+
* "sink": {
|
|
440
|
+
* "splunkDomain": "string",
|
|
441
|
+
* "splunkToken": "string",
|
|
442
|
+
* "splunkPort": "string",
|
|
443
|
+
* "splunkSecure": "boolean"
|
|
444
|
+
* }
|
|
445
|
+
* }
|
|
446
|
+
* ```
|
|
447
|
+
*
|
|
448
|
+
* **Sumo Logic Log Stream**
|
|
449
|
+
*
|
|
450
|
+
* ```json
|
|
451
|
+
* {
|
|
452
|
+
* "id": "string",
|
|
453
|
+
* "name": "string",
|
|
454
|
+
* "type": "sumo",
|
|
455
|
+
* "status": "active|paused|suspended",
|
|
456
|
+
* "sink": {
|
|
457
|
+
* "sumoSourceAddress": "string"
|
|
458
|
+
* }
|
|
459
|
+
* }
|
|
460
|
+
* ```
|
|
461
|
+
*
|
|
462
|
+
* **Status**
|
|
463
|
+
*
|
|
464
|
+
* The `status` of a log stream maybe any of the following:
|
|
465
|
+
*
|
|
466
|
+
* 1. `active` - Stream is currently enabled.
|
|
467
|
+
* 2. `paused` - Stream is currently user disabled and will not attempt log delivery.
|
|
468
|
+
* 3. `suspended` - Stream is currently disabled because of errors and will not attempt log delivery.
|
|
343
469
|
*
|
|
344
470
|
* @param {string} id - The id of the log stream to get
|
|
345
471
|
* @param {LogStreamsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -373,40 +499,79 @@ export declare class LogStreamsClient {
|
|
|
373
499
|
private __delete;
|
|
374
500
|
/**
|
|
375
501
|
* Update a log stream.
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
502
|
+
*
|
|
503
|
+
* **Examples of how to use the PATCH endpoint.**
|
|
504
|
+
*
|
|
505
|
+
* The following fields may be updated in a PATCH operation:
|
|
506
|
+
*
|
|
507
|
+
* - name
|
|
508
|
+
* - status
|
|
509
|
+
* - sink
|
|
510
|
+
*
|
|
511
|
+
* Note: For log streams of type `eventbridge` and `eventgrid`, updating the `sink` is not permitted.
|
|
512
|
+
*
|
|
513
|
+
* **Update the status of a log stream**
|
|
514
|
+
*
|
|
515
|
+
* ```json
|
|
516
|
+
* {
|
|
517
|
+
* "status": "active|paused"
|
|
518
|
+
* }
|
|
519
|
+
* ```
|
|
520
|
+
*
|
|
521
|
+
* **Update the name of a log stream**
|
|
522
|
+
*
|
|
523
|
+
* ```json
|
|
524
|
+
* {
|
|
525
|
+
* "name": "string"
|
|
526
|
+
* }
|
|
527
|
+
* ```
|
|
528
|
+
*
|
|
529
|
+
* **Update the sink properties of a stream of type `http`**
|
|
530
|
+
*
|
|
531
|
+
* ```json
|
|
532
|
+
* {
|
|
384
533
|
* "sink": {
|
|
385
534
|
* "httpEndpoint": "string",
|
|
386
535
|
* "httpContentType": "string",
|
|
387
536
|
* "httpContentFormat": "JSONARRAY|JSONLINES",
|
|
388
537
|
* "httpAuthorization": "string"
|
|
389
538
|
* }
|
|
390
|
-
* }
|
|
391
|
-
*
|
|
539
|
+
* }
|
|
540
|
+
* ```
|
|
541
|
+
*
|
|
542
|
+
* **Update the sink properties of a stream of type `datadog`**
|
|
543
|
+
*
|
|
544
|
+
* ```json
|
|
545
|
+
* {
|
|
392
546
|
* "sink": {
|
|
393
|
-
*
|
|
394
|
-
*
|
|
547
|
+
* "datadogRegion": "string",
|
|
548
|
+
* "datadogApiKey": "string"
|
|
395
549
|
* }
|
|
396
|
-
* }
|
|
397
|
-
*
|
|
550
|
+
* }
|
|
551
|
+
* ```
|
|
552
|
+
*
|
|
553
|
+
* **Update the sink properties of a stream of type `splunk`**
|
|
554
|
+
*
|
|
555
|
+
* ```json
|
|
556
|
+
* {
|
|
398
557
|
* "sink": {
|
|
399
558
|
* "splunkDomain": "string",
|
|
400
559
|
* "splunkToken": "string",
|
|
401
560
|
* "splunkPort": "string",
|
|
402
561
|
* "splunkSecure": "boolean"
|
|
403
562
|
* }
|
|
404
|
-
* }
|
|
405
|
-
*
|
|
563
|
+
* }
|
|
564
|
+
* ```
|
|
565
|
+
*
|
|
566
|
+
* **Update the sink properties of a stream of type `sumo`**
|
|
567
|
+
*
|
|
568
|
+
* ```json
|
|
569
|
+
* {
|
|
406
570
|
* "sink": {
|
|
407
571
|
* "sumoSourceAddress": "string"
|
|
408
572
|
* }
|
|
409
|
-
* }
|
|
573
|
+
* }
|
|
574
|
+
* ```
|
|
410
575
|
*
|
|
411
576
|
* @param {string} id - The id of the log stream to get
|
|
412
577
|
* @param {Management.UpdateLogStreamRequestContent} request
|